i don't sure why but tinymce delete all
<style>
...
</style>
info in the textarea
what can i do? 10x
i don't sure why but tinymce delete all
<style>
...
</style>
info in the textarea
what can i do? 10x
For the record CKEditor isn't a successor to TinyMCE, just a competitor.
You can keep the style tags in the content by specifying 'style' as one of the allowed tags in TinyMCE's validation config. Just add: extended_valid_elements: "style" to the config you pass to init.
Regards,
Adrian Sutton.
http://tinymce.ephox.com
i m facing the same problem. when i apply .newclasss{color:#c9c9c9;} in HTML editor of TinyMce, it removes tags when i click update. My valid elements are follows: extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],img[href|src|name|title|onclick|align|alt|title|width|height|vspace|hspace],iframe[id|class|width|size|noshade|src|height|frameborder|border|marginwidth|marginheight|target|scrolling|allowtransparency],style"
Also it is removing , and tags..
Can anyone help please??