javascript - add inline css to body in tinymce -


i'm importing html external source tinymce. have 2 questions:

if tinymce.execinstancecommand('mce_editor_0','mcesetcontent', false, myvar); , myvar has doctype , header etc defined, seems take body content. correct behavior?

since myvar has inline css within body tag , mcesetcontent() doesn't import it, need pass myself. how can add inline css body of tinymce instance?

thanks

this correct bahaviour. paste goes editors iframe body. doctype , css stuff not. thing use paste setting paste_preprocess, filter css stuff out , insert editors ifram head.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -