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
As per Readme, itemPrefix is only taken into account by unorderedList default formatter.
orderedList formatter has no own options and only looks into index type attribute of HTML element.
I'll consider adding some options to orderedList formatter in the future.
To get what you want, you can assign a different formatter to ol selector.
adding format: 'unorderedList' to ol selector should work and allow the use of itemPrefix (not intended use but simple enough);
or you can define a custom formatter, albeit in this case it would require copying a significant chunk of code responsible for list formatting that is not exposed.
Hello there, I want to remove the ordered list prefix item:
Turn this
into
I tried to use
formatter
to achieve what I wanted but had no luck.selectors: [ { selector: 'ol', options: { itemPrefix: ' ' } } ]
selector
ul
will work, butol
won't work.This worked for me.
So I am wondering is it supported already? Or, is there any workaround I can follow to achieve my goal?
The text was updated successfully, but these errors were encountered: