@halo-dev/richtext-editor 0.0.0-alpha.15 → 0.0.0-alpha.16
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.
|
@@ -20781,6 +20781,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
20781
20781
|
type: Array,
|
|
20782
20782
|
required: false,
|
|
20783
20783
|
default: () => []
|
|
20784
|
+
},
|
|
20785
|
+
contentStyles: {
|
|
20786
|
+
type: Object,
|
|
20787
|
+
required: false,
|
|
20788
|
+
default: () => ({})
|
|
20784
20789
|
}
|
|
20785
20790
|
},
|
|
20786
20791
|
setup(__props) {
|
|
@@ -20794,8 +20799,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
20794
20799
|
createElementVNode("div", _hoisted_2$H, [
|
|
20795
20800
|
createVNode(unref(EditorContent), {
|
|
20796
20801
|
editor: __props.editor,
|
|
20802
|
+
style: normalizeStyle(__props.contentStyles),
|
|
20797
20803
|
class: "editor-content prose prose-base !max-w-none prose-pre:p-0 bg-white prose-p:mt-3 prose-p:mb-3 prose-img:mt-0 prose-img:mb-0"
|
|
20798
|
-
}, null, 8, ["editor"]),
|
|
20804
|
+
}, null, 8, ["editor", "style"]),
|
|
20799
20805
|
createElementVNode("div", _hoisted_3$H, [
|
|
20800
20806
|
renderSlot(_ctx.$slots, "extra")
|
|
20801
20807
|
])
|