Text: New div is created every time I hit enter instead of creating a </br>
Hi @daniel-farina this is a default behavior in WebKit browsers, here you can find current solutions https://stackoverflow.com/questions/18552336/prevent-contenteditable-adding-div-on-enter-chrome I actually started rewriting the current RTE and will take into account this issue
Read full answer below ↓Question
Hi @artf Is there a reason why when inserting text a new div is created for every break instead of a standard </br> Is it possible to disable this behavior and make a </br> instead. I know this works if I hit the shift + enter but I would like for it to be the default option. Thank you
Answers (3)
Hi @daniel-farina this is a default behavior in WebKit browsers, here you can find current solutions https://stackoverflow.com/questions/18552336/prevent-contenteditable-adding-div-on-enter-chrome
I actually started rewriting the current RTE and will take into account this issue
Thank you for the update and information. I'll look into it.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #508
If you add a checkbox trait, it does not render correctly in the settings panel unless there is also a text trait
A text trait and a checkbox: Results in: If checkbox only: The checkbox overlaps the label:
Issue #1434
Toolbar Hide text element
@artf Please check you demo page text is hiding under the toolbar. how can we update the toolbar position?
Issue #392
Define selected class.
Hello @artf , Is there a way to automatically select the class that is created on elements with custom styles. I'm currently trying to dyna...
Issue #456
Combobox cross-browser issues
I found that the combobox has different styles on different browsers. Firefox 56.0.2 (64-bits): Chrome: Safari: I think the problem is with...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Tutorial
Super Tooltip for GrapesJS — Version 0.1.5 Released 🎉
We’re excited to announce the v 0.1.5 update of Super Tooltip, our floating‑menu and tooltip plugin for GrapesJS
Tutorial
GrapesJS in 2026: The Complete Guide to the Open-Source Web Builder Framework
Master GrapesJS in 2026. Architecture, code examples, React integration, plugin development, Studio SDK, and how it compares to other projects
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.