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
If you create an (un)ordered list in editors (I tried Google Docs and Microsoft 365 Word), indent nests the list item(s) and outdent reverses that, as expected. BUT at no point does outdent cause a list item to stop being a list item.
In contrast, if you load: data:text/html,<div contenteditable="true"><ul><li>foo</li><li>bar</li><li>baz</li></ul></div><button onclick="document.execCommand('outdent', false);">outdent</button>, click on "bar", and then click on the "outdent" button, you wind up with two unordered lists separated by "bar."
I personally think this is another instance where making the implementations match popular editors makes sense.
The text was updated successfully, but these errors were encountered:
(Spun off from issue #437).
If you create an (un)ordered list in editors (I tried Google Docs and Microsoft 365 Word), indent nests the list item(s) and outdent reverses that, as expected. BUT at no point does outdent cause a list item to stop being a list item.
In contrast, if you load:
data:text/html,<div contenteditable="true"><ul><li>foo</li><li>bar</li><li>baz</li></ul></div><button onclick="document.execCommand('outdent', false);">outdent</button>
, click on "bar", and then click on the "outdent" button, you wind up with two unordered lists separated by "bar."I personally think this is another instance where making the implementations match popular editors makes sense.
The text was updated successfully, but these errors were encountered: