How to pass custom value to the orderedList? #5635
Unanswered
pcjaarvis
asked this question in
Questions & Help
Replies: 1 comment
-
It doesn't behave as expected, and there is an issue with your code.
// Use the start value or default to 1
return commands.toggleList("orderedList", "listItem", this.options.keepMarks, {
start: start || 1,
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to pass a custom value to the orderList start value by extending,
How i want to use it,
editor.commands.toggleOrderList({ start: 5 });
I can get the value inside the custom command, but cannot update the html, any help appreciated.
Beta Was this translation helpful? Give feedback.
All reactions