When I dynamically load a html content to editor, images have removed the width attribute.
I need it for Outlook newsletters.
Thanks!
Last commit adds in the imageOutputWidth option which will output the width as attribute when enabled. By default it is disabled.
@stefanneculai will the imageOutputWidth option find a way to the docs to get more info about it? In what Froala version is it available?
+1
@escopecz starting version 2.2.2
@stefanneculai @chandon I'm using Froala 2.3.3 and if I search for imageOutputWidth in the whole (uncompressed) codebase of Froala, I get no results. Any example how to use it?
imageOutputWidth was replaced by imageOutputSize. https://www.froala.com/wysiwyg-editor/docs/options#imageOutputSize
Most helpful comment
Last commit adds in the
imageOutputWidthoption which will output the width as attribute when enabled. By default it is disabled.