I am currently using the tinyMCE editor and I need to make certain content readonly (nonEditable).
According to the documentation, if I apply the class "mceNonEditable" to specific elements, it should meet this requirement. However, when I select that element and press backspace / Enter / Delete, the content is removed.
My goal is to prevent any user interaction with these elements at all.
You can view an official example here.
In an attempt to solve this issue, I also tried utilizing an overlay div with absolute positioning. Unfortunately, applying this style causes the editor to treat the div as draggable.
If anyone has alternative solutions or suggestions, please share!