How can I allow the user to press enter without creating a new element in the editor? August 16, 2022 by Tarik Billa Turns out you have to have a <p> tag in the div to prevent that.