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
Post a Comment