editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

Prevent click on redactor from inserting new block

Open cossssmin opened this issue 5 years ago • 6 comments

I have a situation where the codex-editor__redactor div is full width, and I center its contents (this is so that I can stretch contents to the edges of the screen).

However, when clicking 'outside' blocks (in order to blur the current selected block), I am basically still clicking on the redactor, which inserts an empty new block at the end.

How can I prevent editor.js from doing this? (without preventing clicks on the redactor - obviously)

cossssmin avatar Oct 30 '19 19:10 cossssmin