We’re trying to implement our own image selecting logic to allow Shift+Click into images, but if we click the whitespace to the right of an image ProseMirror overrides our logic and there seems to be no way to prevent this. Is it possible?
Our logic works fine when the user clicks the actual image, but not into the adjacent empty space.
Shift-click already has a native behavior (extending the selection). But you could use a raw DOM event handler to add a custom handler that also sees shift-clicks.