We have a problem with the WYSIWYG-editor. When we press the enter-button it adds an extra paragraph-tag inside an editable h2. How can we prevent it this?
Editor adds extra paragraph-tag
(7 posts) (3 voices)-
Posted 1 year ago #
-
Hold "Shift+Enter" instead of just "Enter" Enter makes a new P Shift+Enter makes line break. - Tom
Posted 1 year ago # -
Yes I know. But This is what happens:
1. Select the h1 to edit
2. Edit the text and hit (by accident) the enter-button
3. Delete the new line feed
4. Save the changes
Result: <h1><p>text</p></h1>Posted 1 year ago # -
do you have the editable class on the H1? Or on a div wrapping it. - Tom
Posted 1 year ago # -
on the h1
Posted 1 year ago # -
Hey, which page can I replicate this on? I definitely want to fix this for you.
Posted 1 year ago # -
Can I email or send a PM about that ?
Posted 1 year ago #
Reply
You must log in to post.