(This sounds like a rather bad idea for various reasons—accessibility, generally violating expected behavior, missing features in your custom solution, etc)
readonly mode sets contenteditable to false, which causes browsers to not show a cursor.
The editor does that to certain degree—it will notice range selections on the content and update its state.selection accordingly.
On a readonly mode, do you think that i can display a blinking cursor and move it programatically using marks/nodes/…etc ?
(just to give the impression that the user is editing)
Thanks @marijn , I managed to show a visual cursor on the readonly editor using widget decoration.
My question now is how can I insert text from my visual keyboard at a given position on the editor, how can i remove text at a given position as well ?