Is it possible to cancel keyboard events or editor change event?

Is it possible to cancel keyboard events or editor change event?

I need to prevent the user from changing the text, but need to allow user to use the Toolbar to insert emoji or select text and change the color or background color or change to bold, etc.

Thank you for your assistance.

You may try to add the contenteditable = false attribute to the richText editor element after the component initialized.
Something like:
https://snippet.dhtmlx.com/sx3za9y0