Is it possible to invoke/uninvoke `ProseMirror-hideselection` manually?

I’m working on some custom selection logic, and I understand I could use view.dom and apply it directly, but I wonder if I’ve overlooked any exposed helper for this? I guess perhaps it’s not a very common use case.

There’s Selection.visible, but other than that, no, the class is managed by the editor view.

1 Like