@tailor-cms/ce-quill-html-edit 0.1.0 → 0.1.1

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/index.cjs CHANGED
@@ -13952,9 +13952,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
13952
13952
  };
13953
13953
  const onQuillReady = (quill2) => {
13954
13954
  quill2.focus();
13955
- if (quill2.root) {
13956
- quill2.root.innerHTML = props.modelValue;
13957
- }
13955
+ quill2?.clipboard?.dangerouslyPasteHTML(props.modelValue);
13958
13956
  };
13959
13957
  vue.onMounted(() => {
13960
13958
  quill = editor.value?.initialize(Quill) ?? null;
package/dist/index.js CHANGED
@@ -13950,9 +13950,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13950
13950
  };
13951
13951
  const onQuillReady = (quill2) => {
13952
13952
  quill2.focus();
13953
- if (quill2.root) {
13954
- quill2.root.innerHTML = props.modelValue;
13955
- }
13953
+ quill2?.clipboard?.dangerouslyPasteHTML(props.modelValue);
13956
13954
  };
13957
13955
  onMounted(() => {
13958
13956
  quill = editor.value?.initialize(Quill) ?? null;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS Quill HTML editor authoring component",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "0.1.0",
6
+ "version": "0.1.1",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  "typescript": "^5.8.3",
27
27
  "vite": "^7.0.3",
28
28
  "vue-tsc": "^3.0.1",
29
- "@tailor-cms/ce-quill-html-manifest": "0.1.0"
29
+ "@tailor-cms/ce-quill-html-manifest": "0.1.1"
30
30
  },
31
31
  "dependencies": {
32
32
  "lodash-es": "^4.17.21",