I am using the following editorjs config:
tools: {
list: {
class: require('@editorjs/list'),
shortcut: 'CMD+SHIFT+L'
}
},
inlineToolbar: true
Now when I use shortcut CMD+SHIFT+L on the app, it generates an ordered list block. The same behavior is when I add a list block.
But when I manually use "Convert To", it changes block to an unordered list. I want to default the behavior of previous two methods to generate an unordered list. Is is possible?
Maybe some parameter like defaultStyle: "unordered" similar to defaultLevel in @editorjs/header?
I am using the following
editorjsconfig:Now when I use shortcut
CMD+SHIFT+Lon the app, it generates an ordered list block. The same behavior is when I add a list block.But when I manually use "Convert To", it changes block to an unordered list. I want to default the behavior of previous two methods to generate an unordered list. Is is possible?
Maybe some parameter like
defaultStyle: "unordered"similar todefaultLevelin@editorjs/header?