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.
Files changed (2) hide show
  1. package/dist/vuewrite.js +2 -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 null;
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, [content()]);
671
+ return h("div", blockProps, content());
672
672
  };
673
673
  }
674
674
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vuewrite",
3
3
  "description": "Rich Text Editor based on Vue3 reactivity",
4
4
  "private": false,
5
- "version": "0.0.15",
5
+ "version": "0.0.16",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "author": "den59k",