Closed pbauer closed 1 year ago
Give a empty span in a list: <ul><li><span>Foo</span><span></span></li></ul>
<ul><li><span>Foo</span><span></span></li></ul>
I get empty spans that can render but fail on editing with Cannot get the end point in the node at path [0] because it has no end text node.:
Cannot get the end point in the node at path [0] because it has no end text node.
{ "@type": "slate", "value": [ { "type": "ul", "children": [ { "type": "li", "children": [ { "type": "span", "children": [ { "text": "Foo" } ] }, { "type": "span", "children": [] } ] } ] } ], "plaintext": "Foo" }
Give a empty span in a list:
<ul><li><span>Foo</span><span></span></li></ul>
I get empty spans that can render but fail on editing with
Cannot get the end point in the node at path [0] because it has no end text node.
: