dankito / RichTextEditor

Rich text WYSIWYG editor for Android and JavaFX
Apache License 2.0
92 stars 36 forks source link

Image resizable inside of richtexteditor #44

Closed tised closed 4 years ago

tised commented 4 years ago

Hello! Our testers found a weird thing with pictures which user able to add to this component if you will tap on corner of the image - you will able to resize it Also you able to rotate an image by 2 fingers and all these changes are saved to a tag

Can we disable that somehow? Or maybe you will add a flag to editor settings "imagesEditable" for example

Thanks!

dankito commented 4 years ago

It's a feature, not a bug :).

Another user implemented this so that users can adjust image sizes: https://github.com/dankito/RichTextEditor/issues/1

And yes, you can disable this by calling:

editor.javaScriptExecutor.disableImageResizing()
tised commented 4 years ago

oh, great! I will check it