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

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

database - one php page with different contents and urls -