How can I make the rich text editor read-only?

Hi ,

I would like to configure the rich text editor so that it can only be viewed.
I have confirmed that drag-and-drop is not available when the editor is disabled.
I would like to create a read-only state in which drag-and-drop is still allowed

thank you

Hello @BORAM ,

To configure the editor so that it can only be viewed while still allowing drag-and-drop functionality, you can customize the editor.views.editor and in its ready method, set the attribute contenteditable to null .
This will make the editor read-only:

this.Editor.getEditorNode().setAttribute('contenteditable', null);

Here is the example: Code Snippet

But while the drag-and-drop feature is enabled, the editing menu for the selected image will still be active .Do you want it to be disabled?
And without an active cursor (as editor is in the view mode), it may not be clear where the image will be inserted.

So could you please provide more details on how you would like the editor to function in view mode?