Open xiaweiss opened 2 years ago
Do plain contenteditable elements behave the same?
Yes
Then I suppose this is just the browser's behavior, and not something ProseMirror can do much about.
It can trigger editor updates. I record content and selection, then restore it.
Do the mobile safari browser has some events, I can handle it? Thank you.
The selected text is lost, when the app is switched.
https://user-images.githubusercontent.com/17960084/193402295-3e72af29-ecd1-4af6-98f3-4e4b6d0592e6.mov