@halo-dev/richtext-editor 0.0.0-alpha.15 → 0.0.0-alpha.17
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
|
])
|
|
@@ -41348,6 +41354,7 @@ img.ProseMirror-separator {
|
|
|
41348
41354
|
lowlight$1.registerLanguage("wasm", wasm);
|
|
41349
41355
|
lowlight$1.registerLanguage("xml", xml);
|
|
41350
41356
|
lowlight$1.registerLanguage("yaml", yaml);
|
|
41357
|
+
lowlight$1.registerLanguage("html", xml);
|
|
41351
41358
|
const lowlight = lowlight$1;
|
|
41352
41359
|
const _hoisted_1$t = { class: "px-2 py-1.5" };
|
|
41353
41360
|
const _hoisted_2$s = /* @__PURE__ */ vue.createElementVNode("option", { value: null }, "auto", -1);
|
|
@@ -41581,8 +41588,8 @@ img.ProseMirror-separator {
|
|
|
41581
41588
|
},
|
|
41582
41589
|
renderHTML({ HTMLAttributes }) {
|
|
41583
41590
|
return [
|
|
41584
|
-
"
|
|
41585
|
-
|
|
41591
|
+
"iframe",
|
|
41592
|
+
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes)
|
|
41586
41593
|
];
|
|
41587
41594
|
},
|
|
41588
41595
|
addCommands() {
|