Home › Forums › Backend Issues (wp-admin) › WYSIWYG Editor adds unwanted linebreak tags › Reply To: WYSIWYG Editor adds unwanted linebreak tags
The thing is that when I submit the entry it is saved as
<ul>\r\n\t<br/><li>Topic 1</li>\r\n\t<br/><li>Topic 2</li>\r\n<br/></ul>
and the linebreaks are parsed in the browser, resulting in huge gaps between the list entries.
Try it.
I can possibly remedy that by adding a style to all LI elements but for all practival purposes the BR tag shouldn’t be there.
So if you have an idea how I could tell the editor not to do that I’d be happy 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.