Wysiwyg-editor: Removing image width attribute

Created on 17 Mar 2016  路  6Comments  路  Source: froala/wysiwyg-editor

When I dynamically load a html content to editor, images have removed the width attribute.

I need it for Outlook newsletters.

Thanks!

enhancement

Most helpful comment

Last commit adds in the imageOutputWidth option which will output the width as attribute when enabled. By default it is disabled.

All 6 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

george-norris-salesforce picture george-norris-salesforce  路  4Comments

cksachdev picture cksachdev  路  4Comments

cristianst picture cristianst  路  4Comments

jmsche picture jmsche  路  3Comments

homoky picture homoky  路  3Comments