Hey there, we have a setup with tiptap/prosemirror that handles a blur event. In the blur function we set editor.view.dom.contentEditable = 'false';
which prevents typing new text in the editor window.
I just came across a bug that occurs when I implemented a feature that allows users to select text without focusing the editor. When text was focused, it was possible to delete the selection or paste new text inplace of the selection - even though contenteditable="false"
was on the editor div in the dom.
This seems to be an oddity of the library, as there isn’t any other logic that should allow this behavior.