You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, a user indents second item. What happens then is:
<li>Bar</li> is extracted.
It is wrapped into <ul>.
It is inserted into view, inside "Foo" <li>.
Unfortunately it is inserted at wrong position. Lists have that characteristic, that in <li>, no other node should be after <ul> or <ol>. When insertion position is mapped from model to view, it is before Foo text node and <span> ui element. The result is this:
Assume this view state:
Now, a user indents second item. What happens then is:
<li>Bar</li>
is extracted.<ul>
.<li>
.Unfortunately it is inserted at wrong position. Lists have that characteristic, that in
<li>
, no other node should be after<ul>
or<ol>
. When insertion position is mapped from model to view, it is beforeFoo
text node and<span>
ui element. The result is this:This is a very different structure. Now ui element is not "after
Foo
" but "afterBar
". Also, depending on CSS styles, it may display in a weird way.The text was updated successfully, but these errors were encountered: