Problem/Motivation
We noticed then when we started using the USWDS CK5 text format that wheneve we created a UL with LI elements, ckeditor would inject P tags inside the LI tags.
We also noted that when using Drupal default "Full HTML" this behavior stopped, and we were given clean LI tags without P tags injected inside.
Steps to reproduce
1. Use USWDS CK5 text format on a body field
2. create UL
3. Add LIs inside your UL
4. Save node
5. rendered pager presents P tags inside of LI tags
Proposed resolution
Is there a way to disable this, OR opt into this behavior explicitly? We find that we prefer NO P tags inside our LI tags by default.
Thanks for your time!
Comments
Comment #2
smustgrave commentedSo for v3 we actually dropped any text formatter config.
Ckeditor5 is such a PITA that keeping up with all the changes was becoming near impossible. What you're doing is correct and use a fresh formatter with the needed features/buttons.