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
I am using properties to set all of the components in my document. For example If I am creating a paragraph that is a member of a list I would create a property similar to the below then add that property to a paragraph
I have seen the below code that @dolanmiu pointed out #1136 (reply in thread) but I am unclear how I would set the overrideLevel using the properties above.
overrideLevel: {
num: 0,
start: 1,
}
Can I even set the start value using the declared props? Or do I have to completely change my method of building the document? The only thing I need to be able to do is set the numeric value of the list item programmatically either to reset the value or to continue an existing list after a break. Any guidance is super appreciated. Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using properties to set all of the components in my document. For example If I am creating a paragraph that is a member of a list I would create a property similar to the below then add that property to a paragraph
I have seen the below code that @dolanmiu pointed out #1136 (reply in thread) but I am unclear how I would set the overrideLevel using the properties above.
Can I even set the start value using the declared props? Or do I have to completely change my method of building the document? The only thing I need to be able to do is set the numeric value of the list item programmatically either to reset the value or to continue an existing list after a break. Any guidance is super appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions