The problem: When using Firefox 2.0.x (on any platform) FCKeditor 2.4.2 removes the entire <Style> block. Using the same page, and the same steps in Internet Explorer does not result in the same problem.
I see this bug was supposed to have been fixed in version 2.0 some time ago now.
Can anyone confirm that this happens/does not happen with theirs too.
Flash
I see this bug was supposed to have been fixed in version 2.0 some time ago now.
Can anyone confirm that this happens/does not happen with theirs too.
Flash
RE: FCKeditor 2.4.2 Removes <Style> blocks
RE: FCKeditor 2.4.2 Removes <Style> blocks
FCKConfig.ProtectedSource.Add( /<script[\s\S]*?\/script>/gi ) ; // <SCRIPT> tags.
// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%>
FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code
// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control>
you can add:
FCKConfig.ProtectedSource.Add( /<style[\s\S]*?\/style>/gi ) ; // <SCRIPT> tags.
that should work....