vuewrite 0.0.15 → 0.0.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.
- package/dist/vuewrite.js +2 -2
- package/package.json +1 -1
package/dist/vuewrite.js
CHANGED
|
@@ -594,7 +594,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
594
594
|
const content = () => {
|
|
595
595
|
const block = props.block;
|
|
596
596
|
if (block.editable === false)
|
|
597
|
-
return
|
|
597
|
+
return [];
|
|
598
598
|
if (block.text.length === 0) {
|
|
599
599
|
cleanTree(1);
|
|
600
600
|
return [h("br")];
|
|
@@ -668,7 +668,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
668
668
|
return () => {
|
|
669
669
|
if (slot.value)
|
|
670
670
|
return h(slot.value, { content, props: blockProps, block: props.block });
|
|
671
|
-
return h("div", blockProps,
|
|
671
|
+
return h("div", blockProps, content());
|
|
672
672
|
};
|
|
673
673
|
}
|
|
674
674
|
});
|