@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.
|
@@ -20782,6 +20782,11 @@ img.ProseMirror-separator {
|
|
|
20782
20782
|
type: Array,
|
|
20783
20783
|
required: false,
|
|
20784
20784
|
default: () => []
|
|
20785
|
+
},
|
|
20786
|
+
contentStyles: {
|
|
20787
|
+
type: Object,
|
|
20788
|
+
required: false,
|
|
20789
|
+
default: () => ({})
|
|
20785
20790
|
}
|
|
20786
20791
|
},
|
|
20787
20792
|
setup(__props) {
|
|
@@ -20795,8 +20800,9 @@ img.ProseMirror-separator {
|
|
|
20795
20800
|
vue.createElementVNode("div", _hoisted_2$H, [
|
|
20796
20801
|
vue.createVNode(vue.unref(EditorContent), {
|
|
20797
20802
|
editor: __props.editor,
|
|
20803
|
+
style: vue.normalizeStyle(__props.contentStyles),
|
|
20798
20804
|
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"
|
|
20799
|
-
}, null, 8, ["editor"]),
|
|
20805
|
+
}, null, 8, ["editor", "style"]),
|
|
20800
20806
|
vue.createElementVNode("div", _hoisted_3$H, [
|
|
20801
20807
|
vue.renderSlot(_ctx.$slots, "extra")
|
|
20802
20808
|
])
|