Replies: 1 comment 2 replies
-
If you have a list "1. ... 2. ... 3. ..." and delete the first list item, you'd expect the subsequent list items to be decremented. Disabling this behaviour would prevent that from happening. I suggest that you add a new property to your list item element to indicate that this list item's |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have set my initial editor value with an ordered indent list starting from 8, as shown below:
The corresponding Plate value is :
[{ align : "left", children : [{…}] color : "" indent : 1 lineHeight : 1 listStart : 8 listStyleType : "decimal" type : "div" }]
However, when I try to edit this, Plate starts the indent from 1, instead of 8. On further investigation I noticed that
normalizeFirstIndentListStart
function removeslistStart
property on the first element, if it already exists. Any reason for this functionality, and how can I override this?cc: @felixfeng33 @12joan @zbeyens
Beta Was this translation helpful? Give feedback.
All reactions