Trumbowyg
Trumbowyg copied to clipboard
Unordered <ul> and ordered <ol> list types should be outside of the <p> tag.
By HTML standards, <ul> and <ol> are block types and should not be inside <p> , <h1>, <h2> etc. elements. It would be really nice to fix that issue. Paragraph (<p>) and similar formatting types only allow inline elements within like <strong>, <a>, <i> etc.
How to reproduce? – Just type anything in a paragraph or other formatting style and then create bullet or numbered list – check the generated HTML in you'll see that all <ul> and <ol> block elements are wrapped inside selected formatting (like <p>).
You right, the ul/ol should be unwrapped.
This default p tag has been giving me hard time as well. Is it possible to add another option in the formatting menu for no tag or just text? We'd like users to be able to enter text without a wrapped html element.
The same goes for table tag, it is getting wrapped inside p tag