question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default tags "<p><br></p>" are removed, when user clicks backspace on empty summernote

See original GitHub issue

steps to reproduce

  1. Clear all text in summernote.
  2. Click backspace again when no text remaining / editing area is empty.
  3. Inspect HTML on chrome dev tools.
  4. Expecting to find <p><br></p> in div with class “note-editable”, but found nothing
  5. Type any text and it’ll be inside the “note-editable” div without any html tags.
  6. Click Enter and it’ll create new Div rather than adding <p></p>

browser version and os version and summernote version

Chrome browser, on MacOS v0.8.8

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
kennymalaccommented, Jan 31, 2018

@DiemenDesign This issue is still present on the latest develop.

1reaction
yamin90commented, Mar 18, 2019

@amrfaisal $('#summernote').summernote({ callbacks: { onKeyup: function(e) { $('#summernote').summernote('formatPara'); } } });

somehow solve the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

tags "<p><br></p>" are removed, when user clicks backspace ...
Default tags " " are removed, when user clicks backspace on empty summernote. ... Clear all text in summernote. Click backspace again when ......
Read more >
How can I prevent the backspace key from navigating back?
I'm not creating a web site but a web application. Some input fields are read-only in which case they look editable, but if...
Read more >
Untitled
Click 3 tres barras, Pancreas et reflexologie, Jordan 11 72-10 replica, ... Dietzgen plumb bob, San michele camping village avigliana, Ctrl backspace ......
Read more >
gye - OSCHINA - 中文开源技术交流社区
... up or down to change it's Y value enter the delete or backspace key to delete a selected data point hold the...
Read more >
Untitled
Euridi mena, Werkzeugshop rainer, Banana republic australia melbourne, Sweeps4bloggers, Flight club inkster mi hours, Jusco 30th anniversary, Html div tag ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found