#1717: Table inside of Div producing unresponsive script
----------------------------+-----------------------------------------------
Reporter: mattleff | Owner: martinkou
Type: Bug | Status: assigned
Priority: High | Milestone: FCKeditor 2.6
Component: Core : Styles | Version: SVN
Resolution: | Keywords: Confirmed
----------------------------+-----------------------------------------------
Comment (by fredck):
Replying to [comment:3 martinkou]:
> 1. Why is splitting a block needed when I'm formatting a block? Or
changing the text alignment of the block? Or putting the block into a
blockquote? (all three operations mentioned would hang the browser with
the same test input) The block splitting operation in GetNextParagraph()
makes sense for things like making lists, but not for others.
Looking at the sample source provided in this ticket, this operation may
sound strange. Let me just change it a bit:
{{{
<div><span class="text">Some text
<table>
<tbody>
<tr>
<td>test</td>
</tr>
</tbody>
</table></span></div>
}}}
Now, the split operation sounds reasonable. We must separate the "Some
text" block from the table block, having the following result.
{{{
<div style="text-align: center;"><span class="text">Some text
</span></div>
<div><span class="text">
<table>
<tbody>
<tr>
<td style="text-align: center;">test</td>
</tr>
</tbody>
</table>
</span></div>
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/1717#comment:4>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac