mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
optimize add list style
This commit is contained in:
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 () {
|
||||
|
||||
Reference in new issue
Block a user