just upgraded to 2.11.
we've noticed a a strange problem when pasting in html that contains comment tags. this wasn't a problem in version 2.0 FC.
if the html contains comment tags we get a buffer overflow error in version 2.1 and a javascript error "undefined is null or not an object" in version 2.1.1 after pasting into the editor in design view and then saving the page or clicking on source view.
when pasting in to source view there is no error.
removing the comments fixes the problem.
does this have anything to do with the new ProtectedSource function.
thanks.
we've noticed a a strange problem when pasting in html that contains comment tags. this wasn't a problem in version 2.0 FC.
if the html contains comment tags we get a buffer overflow error in version 2.1 and a javascript error "undefined is null or not an object" in version 2.1.1 after pasting into the editor in design view and then saving the page or clicking on source view.
when pasting in to source view there is no error.
removing the comments fixes the problem.
does this have anything to do with the new ProtectedSource function.
thanks.
RE: comments
Hrm... not at a spot to test... you could try adding a custom ProtectedSource regex for comments, and if it works after that, there you go.
Gizood lizuck!
Once I get to a stopping spot, I'll at check it out...
RE: comments
<table cellspacing="1" cellpadding="1" width="200" border="0">
<tbody>
<tr>
<td>
<p>test<!--CONTENT STARTS HERE--><!--CONTENT ENDS HERE--></p>
</td>
</tr>
</tbody>
</table>
then go to design view and highlight and copy the table.
then open the demo on the FCK site and paste the table into the editor in design view.
if you then click the save or source buttons you will see the js error.
this is in ie 6 on winxp. firefox also gives an error.