views:

15

answers:

0

I am trying to add tag inside fckeditors textarea. Fckeditor is removing the tag when I save it.

I added

FCKConfig.ProtectedSource.Add( /<style[\s\S]*?&lt;\/style&gt;/g );

to the fckconfig.js file but it is not helping.

I did the same thing for the javascript tags and it works. To preserve style element, do I need to do anything else? I am using fckeditor 2.6, and the browser is picking up the new javascript file.

Thanks.