ocavue / prosemirror-virtual-cursor

prosemirror-virtual-cursor.vercel.app
MIT License
69 stars 7 forks source link

no left/right caret shown at the start/end of a block #46

Open vthriller opened 2 months ago

vthriller commented 2 months ago

E.g. in:

hello darkness my old friend

I expected to see a fancy caret when placing it at the start or the end of the line, similar to other mark borders. That should make UX more consistent, because now you have to use panel/shortcuts/whatever to toggle formatting at block boundaries while being able to get away with a single press of a ←/→ anywhere else.

vthriller commented 2 months ago

On second thought, here's a trickier example:

hello darkness my old friend|

I might want → in this position to leave only em mark or to remove all marks altogether. I can't think of a good visual cue to distinguish the two if both are allowed, or whether it's best to leave only one (configurable) option.