Opened 16 years ago

Closed 16 years ago

#2029 closed Bug (invalid)

[IE] Inserting (empty) table and save content leaves a question mark on top of the table

Reported by: Stijn René Cumps Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: FCKeditor 2.6 Beta
Keywords: Cc:

Description

Browsers tested: IE7, FF2.0.0.12

Browsers affected: IE7

To reproduce: Start editor, add a table, close table dialog with OK, save this data to a database (I use: FCKeditor1.Value to get the output of the FCKeditor).

Now view your content in a webpage. You can see a question mark on top of the table. This question mark is not visible in the editor the first time you added the table, when you want to edit this data, you can see it in your FCKeditor. From time to time when you click on 'Code' the question mark disappears.

The following code can be the output: (The border stuff is a customization i made on the table)

<p>&nbsp;</p>
<table style="border-right: 1px; border-top: 1px; border-left: 1px; border-bottom: 1px" cellspacing="1" cellpadding="1" width="200">
    ?
    <tbody>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>

You can see that the question mark is in the location of the caption tag, which is not, when you try to edit the content you see the question mark, when you ask the table properties and you specify the caption, you see the question mark above the caption.

I know i don't have content in the table, I am experiencing this problem from time to time when i am adding content. And i notice that in the final result (after the save).

PS. About the border stuff. On the fck_table.html I've added in the Ok function the following lines:

table.style.backgroundColor = GetE('txtBackColor').value ;
table.style.borderWidth = GetE('txtBorder').value + "px" ;
table.style.borderColor = GetE('txtBorderColor').value ;
table.style.borderStyle = GetE('selBorderStyle').value ;

I don't think this is causing the problem.

Change History (2)

comment:1 Changed 16 years ago by Frederico Caldeira Knabben

I'm almost 100% sure that this is a problem at your side. I would recommend you removing your customizations to the dialog and check the changes.

Basically, FCKeditor generates the HTML you see in the source view. So, if the source is not showing you the "?", then there is something in the server side that is breaking it.

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: table caption question removed
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy