Closed anhducbkhn closed 6 years ago
This is the expect behaviour. ContentTools converts any element type that doesn't directly map to an editable element (in this case a div tag) to a static (non-editable) element.
Likewise I'm surprised that you can edit the list within the blockquote tag initially as blockquotes are converted to text elements which can't have block level children, I suspect this is working purely because the content is being converted to a contenteditable format, that is the ul is not being edited using CT but the native browser functionality.
yes thanks @anthonyjb
My Env:
this is my index.html:
This is my editor.js:
It works.
But when i changed my index.html:
it does not working anymore, seems it cannot detect the ul element inside a div.
Please help!