With ListStyles enabled, modeling throws TypeError if a list is preceded by non-tagged content #8262
Labels
package:list
squad:core
Issue to be handled by the Core team.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
We've got a variety of legacy HTML data created with older rich text editors, some of which contains elements that aren't surrounded by element tags. For example:
✔️ Expected result
The content should be modeled and editable by the editor.
❌ Actual result
A
TypeError
occurs:If the ListStyles plugin is disabled, then the editor functions as expected.
📃 Other details
The text was updated successfully, but these errors were encountered: