froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.3k stars 675 forks source link

Editor re-enables unexpectedly #4011

Open drdrak3 opened 4 years ago

drdrak3 commented 4 years ago
Expected behavior.

After calling editor.edit.off() it should set the contenteditable flag to off, and should only re-enable contenteditable when editor.edit.on() is called.

Actual behavior.

After calling editor.edit.off(), it sets the contenteditable flag to off, but re-enables when any click happens on the document

Steps to reproduce the problem.

https://jsfiddle.net/v7xb0a5n/

Editor version.

v3 latest

OS.

Ubuntu 20.04

Browser.

Google Chrome version 84.0.4147.125

alex-red commented 4 years ago

seeing this issue as well, anyone have a temporary workaround?