Ticket #2029 (closed Bug: invalid)
[IE] Inserting (empty) table and save content leaves a question mark on top of the table
| Reported by: | estan | 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> </p>
<table style="border-right: 1px; border-top: 1px; border-left: 1px; border-bottom: 1px" cellspacing="1" cellpadding="1" width="200">
?
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </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.