@halo-dev/richtext-editor 0.0.0-alpha.7 → 0.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19190,7 +19190,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19190
19190
|
type: Object,
|
|
19191
19191
|
required: true
|
|
19192
19192
|
},
|
|
19193
|
-
|
|
19193
|
+
additionalMenuItems: {
|
|
19194
19194
|
type: Array,
|
|
19195
19195
|
required: false,
|
|
19196
19196
|
default: () => []
|
|
@@ -19354,7 +19354,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19354
19354
|
action: () => props.editor.chain().focus().setTextAlign("justify").run(),
|
|
19355
19355
|
isActive: () => props.editor.isActive({ textAlign: "justify" })
|
|
19356
19356
|
},
|
|
19357
|
-
...props.
|
|
19357
|
+
...props.additionalMenuItems
|
|
19358
19358
|
];
|
|
19359
19359
|
return (_ctx, _cache) => {
|
|
19360
19360
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
@@ -19555,7 +19555,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19555
19555
|
type: Object,
|
|
19556
19556
|
required: true
|
|
19557
19557
|
},
|
|
19558
|
-
|
|
19558
|
+
additionalMenuItems: {
|
|
19559
19559
|
type: Array,
|
|
19560
19560
|
required: false,
|
|
19561
19561
|
default: () => []
|
|
@@ -19567,8 +19567,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19567
19567
|
createVNode(_sfc_main$4, { editor: __props.editor }, null, 8, ["editor"]),
|
|
19568
19568
|
createVNode(_sfc_main$5, {
|
|
19569
19569
|
editor: __props.editor,
|
|
19570
|
-
|
|
19571
|
-
}, null, 8, ["editor", "
|
|
19570
|
+
additionalMenuItems: __props.additionalMenuItems
|
|
19571
|
+
}, null, 8, ["editor", "additionalMenuItems"]),
|
|
19572
19572
|
createElementVNode("div", _hoisted_2$3, [
|
|
19573
19573
|
createVNode(unref(EditorContent), {
|
|
19574
19574
|
editor: __props.editor,
|