css - how to force TinyMCE use inline style when resize image -


in tinymce when resize image using image tool.

the source code tinymce generated use width="..." , height="..." bad responsive css stylesheet.

how force tinymce use style="width: ...px; height: ...px;" instead of old style width="..." height="..."?

use inline_styles option in tinymce init:

tinymce.init({         ...         inline_styles : true }); 

reference: http://www.tinymce.com/wiki.php/configuration3x:inline_styles


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -