Duplicate paragraph tags
See original GitHub issueIssue Description
Informations
Chrome 60.0.3112.101 x64: OS: Windows 10: 1920x1080:
How to reproduce the bug?
Edit text with Trumbowyg, placed on a textarea with default value and use <strong>
or <em>
button.
Each time you add a new style, it add a new set of <p>
around the content.
Expected behavior ?
The text should be only once encompassed by <p>
tags.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Pressing enter creates duplicate <p> tag · Issue #2965 - GitHub
Pressing enter after any text in the editor creates duplicate <p> tags. The reason this is a problem for me is that I'm...
Read more >How to write an HTML Snippet that duplicates the text within a ...
How to write an HTML Snippet that duplicates the text within a paragraph each time it's double clicked? Ask Question. Asked 5 years,...
Read more >Duplicate <p> tag when creating new Page Fragments with ...
Issues When creating new Page Fragments, using <p> tag inside the Page Fragment would lead to duplicate the <p> tag.
Read more >Remove duplicate p tags from div - MSDN
Hi All,. I have to remove duplicate p tag from div I tried with this code but it did not work. $("#addedItem p").each(function...
Read more >HTML paragraph tag inserted when copy/paste from MS Word
Hello! I have noticed when copying text from MS Word into the RadEditor an opening and closing paragraph tag is being inserted/wrapped ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Should be fixed by adding
contents()
to this line:t.$ed.html(safe.html());
in trumbowyg.jsThe above line should look like this:
t.$ed.html(safe.contents().html());
Unfortunately I don’t know how to work this gulp and node thing so I hope someone can put it on the code instead of me 😇
v2.7.2 published now 😃