In many editors, clicking outside the editor still allows the caret to be placed. See for example Google Docs. This editor has wide margins, but you can still click in these margins to reposition the caret.
Any ideas on how to achieve this effect in ProseMirror?