File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
frontend/app/components/admin Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -74,21 +74,6 @@ const toolbarItems = [
7474 isActive : () => editor .value ?.isActive (' orderedList' ),
7575 title: ' Ordered List' ,
7676 },
77- { type: ' divider' },
78- {
79- icon: ' i-lucide-undo' ,
80- action : () => editor .value ?.chain ().focus ().undo ().run (),
81- isActive : () => false ,
82- disabled : () => ! editor .value ?.can ().undo (),
83- title: ' Undo' ,
84- },
85- {
86- icon: ' i-lucide-redo' ,
87- action : () => editor .value ?.chain ().focus ().redo ().run (),
88- isActive : () => false ,
89- disabled : () => ! editor .value ?.can ().redo (),
90- title: ' Redo' ,
91- },
9277]
9378 </script >
9479
@@ -106,10 +91,9 @@ const toolbarItems = [
10691 <UButton
10792 v-else
10893 :icon =" item.icon"
109- variant =" ghost"
11094 size =" xs"
111- :color = " item.isActive?.() ? 'primary' : 'neutral' "
112- :disabled =" item.disabled ?.()"
95+ square
96+ :variant =" item.isActive ?.() ? 'soft' : 'ghost' "
11397 :title =" item.title"
11498 @click ="
11599 () => {
You can’t perform that action at this time.
0 commit comments