optimize add list style

This commit is contained in:
Pete Matsyburka committed 2026-10-03 14:05:38 +03:00
1 parent a990d22831
commit bef825c4e0
4 files changed
+218 -234

No files matched your search

@@ -385,7 +385,7 @@ export default {
default: null
}
},
emits: ['add-variable', 'add-condition'],
emits: ['add-variable', 'add-condition', 'add-list'],
data () {
return {
isMouseDown: false,
@@ -576,6 +576,8 @@ export default {
toggleList (style) {
this.dropdown = null
if (style !== this.listStyle) this.$emit('add-list')
this.editor.chain().focus().toggleList(style).run()
},
wrapVariable () {