Is there a way to disable editing? Looks like `tinyMce.setEnabled(false)`,

Is there a way to disable editing? Looks like tinyMce.setEnabled(false), nor tinyMce.getElement().setEnabled(false) is not working

Hi, do you know if there is such a feature in TinyMCE available? It should be pretty easy to make that work in that case. IIRC, in some older Vaadin integration, I just rendered the value as HTML in case the editor was put read only.

to you think contenteditable?

That’s body attribute inside iframe … I though about accessing it through js … somehow.

You can use “readonly":” true as setConfig. This will disable editing and you have achived “setDisabled”.

In upcoming 2.1 release (maybe later today) native Java API works:

https://github.com/mstahv/tinymce-for-flow/commit/2ec2b0386e0dc2c5a0d3a9e38d9f72c1f47b920a