@onereach/ui-components 2.70.0-beta.2130.0 → 2.70.0-beta.2132.0

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 (22) hide show
  1. package/dist/bundled/v2/{OrRichTextEditor-f2ce449c.js → OrRichTextEditor-7e3cd0ca.js} +3 -7
  2. package/dist/bundled/v2/components/index.js +1 -1
  3. package/dist/bundled/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +4 -4
  4. package/dist/bundled/v2/components/or-rich-text-editor-v3/index.js +1 -1
  5. package/dist/bundled/v2/index.js +1 -1
  6. package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-04e51b7f.js → OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js} +2 -6
  7. package/dist/bundled/v3/components/index.js +1 -1
  8. package/dist/bundled/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +4 -4
  9. package/dist/bundled/v3/components/or-rich-text-editor-v3/index.js +1 -1
  10. package/dist/bundled/v3/index.js +2 -2
  11. package/dist/esm/v2/{OrRichTextEditor-1638b259.js → OrRichTextEditor-8ab8e0f7.js} +3 -7
  12. package/dist/esm/v2/components/index.js +1 -1
  13. package/dist/esm/v2/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +4 -4
  14. package/dist/esm/v2/components/or-rich-text-editor-v3/index.js +1 -1
  15. package/dist/esm/v2/index.js +1 -1
  16. package/dist/esm/v3/{OrRichTextEditor-31565bdb.js → OrRichTextEditor-0f9798ac.js} +2 -6
  17. package/dist/esm/v3/components/index.js +1 -1
  18. package/dist/esm/v3/components/or-rich-text-editor-v3/OrRichTextEditor.vue.d.ts +4 -4
  19. package/dist/esm/v3/components/or-rich-text-editor-v3/index.js +1 -1
  20. package/dist/esm/v3/index.js +1 -1
  21. package/package.json +1 -1
  22. package/src/components/or-rich-text-editor-v3/OrRichTextEditor.vue +2 -6
@@ -36472,11 +36472,11 @@ var script = defineComponent({
36472
36472
  props: {
36473
36473
  modelValue: {
36474
36474
  type: String,
36475
- default: ''
36475
+ default: undefined
36476
36476
  },
36477
36477
  value: {
36478
36478
  type: String,
36479
- default: ''
36479
+ default: undefined
36480
36480
  },
36481
36481
  toolbar: {
36482
36482
  type: Array,
@@ -36570,7 +36570,6 @@ var script = defineComponent({
36570
36570
  editor
36571
36571
  }) => {
36572
36572
  if (props.markdownFormat) {
36573
- console.log(proxyModelValue.value, 'on crete');
36574
36573
  const deserialized = deserialize(editor.schema, proxyModelValue.value);
36575
36574
  editor.commands.setContent(deserialized);
36576
36575
  } else {
@@ -36622,12 +36621,10 @@ var script = defineComponent({
36622
36621
  const proxyModelValue = computed({
36623
36622
  get: () => {
36624
36623
  var _a;
36625
- console.log('modelV: ', props.modelValue, 'v: ', props.value);
36626
36624
  return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
36627
36625
  },
36628
36626
 
36629
36627
  set: value => {
36630
- console.log(value, 'set');
36631
36628
  context.emit('input', value);
36632
36629
  context.emit('update:modelValue', value);
36633
36630
  }
@@ -36724,7 +36721,6 @@ var script = defineComponent({
36724
36721
  };
36725
36722
  //Effects
36726
36723
  watch(proxyModelValue, value => {
36727
- console.log(value, 'watch');
36728
36724
  if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
36729
36725
  editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
36730
36726
  }
@@ -36857,7 +36853,7 @@ var __vue_staticRenderFns__ = [];
36857
36853
  /* style */
36858
36854
  const __vue_inject_styles__ = function (inject) {
36859
36855
  if (!inject) return;
36860
- inject("data-v-5840ac70_0", {
36856
+ inject("data-v-3d0b3e9c_0", {
36861
36857
  source: ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor pre{background-color:rgba(186,209,236,.3);padding:4px 8px;margin:4px 0;width:100%;border-radius:4px}.tiptap-editor blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid #bad1ec}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}",
36862
36858
  map: undefined,
36863
36859
  media: undefined
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-3a3d
95
95
  export { O as OrTooltip } from '../OrTooltip-dfea7af2.js';
96
96
  export { O as OrTooltipContent } from '../OrTooltipContent-f0fd5f75.js';
97
97
  export { O as OrTooltipV3 } from '../OrTooltip-fbfa05fd.js';
98
- export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-f2ce449c.js';
98
+ export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-7e3cd0ca.js';
99
99
  import '../index-fa6eb4ca.js';
100
100
  import 'vue';
101
101
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -38,11 +38,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
38
38
  }> & import("@vue/composition-api").Data, {}, {}, {
39
39
  modelValue: {
40
40
  type: StringConstructor;
41
- default: string;
41
+ default: undefined;
42
42
  };
43
43
  value: {
44
44
  type: StringConstructor;
45
- default: string;
45
+ default: undefined;
46
46
  };
47
47
  toolbar: {
48
48
  type: ArrayConstructor;
@@ -71,11 +71,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
71
71
  }, import("@vue/composition-api").ExtractPropTypes<{
72
72
  modelValue: {
73
73
  type: StringConstructor;
74
- default: string;
74
+ default: undefined;
75
75
  };
76
76
  value: {
77
77
  type: StringConstructor;
78
- default: string;
78
+ default: undefined;
79
79
  };
80
80
  toolbar: {
81
81
  type: ArrayConstructor;
@@ -1,4 +1,4 @@
1
- export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-f2ce449c.js';
1
+ export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-7e3cd0ca.js';
2
2
  import '../../index-fa6eb4ca.js';
3
3
  import 'vue';
4
4
  import '@vue/composition-api/dist/vue-composition-api.mjs';
@@ -98,7 +98,7 @@ export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from './types-f
98
98
  export { O as OrTooltip } from './OrTooltip-dfea7af2.js';
99
99
  export { O as OrTooltipContent } from './OrTooltipContent-f0fd5f75.js';
100
100
  export { O as OrTooltipV3 } from './OrTooltip-fbfa05fd.js';
101
- export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-f2ce449c.js';
101
+ export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-7e3cd0ca.js';
102
102
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
103
103
  export { u as useClassAttribute } from './useClassAttribute-9bf33346.js';
104
104
  export { u as useElevation } from './useElevation-aac032f4.js';
@@ -36473,11 +36473,11 @@ var script = defineComponent({
36473
36473
  props: {
36474
36474
  modelValue: {
36475
36475
  type: String,
36476
- default: ''
36476
+ default: undefined
36477
36477
  },
36478
36478
  value: {
36479
36479
  type: String,
36480
- default: ''
36480
+ default: undefined
36481
36481
  },
36482
36482
  toolbar: {
36483
36483
  type: Array,
@@ -36571,7 +36571,6 @@ var script = defineComponent({
36571
36571
  editor
36572
36572
  }) => {
36573
36573
  if (props.markdownFormat) {
36574
- console.log(proxyModelValue.value, 'on crete');
36575
36574
  const deserialized = deserialize(editor.schema, proxyModelValue.value);
36576
36575
  editor.commands.setContent(deserialized);
36577
36576
  } else {
@@ -36623,12 +36622,10 @@ var script = defineComponent({
36623
36622
  const proxyModelValue = computed({
36624
36623
  get: () => {
36625
36624
  var _a;
36626
- console.log('modelV: ', props.modelValue, 'v: ', props.value);
36627
36625
  return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
36628
36626
  },
36629
36627
 
36630
36628
  set: value => {
36631
- console.log(value, 'set');
36632
36629
  context.emit('input', value);
36633
36630
  context.emit('update:modelValue', value);
36634
36631
  }
@@ -36725,7 +36722,6 @@ var script = defineComponent({
36725
36722
  };
36726
36723
  //Effects
36727
36724
  watch(proxyModelValue, value => {
36728
- console.log(value, 'watch');
36729
36725
  if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
36730
36726
  editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
36731
36727
  }
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-4d43
95
95
  export { s as OrTooltip } from '../OrTooltip.vue_vue_type_script_lang-fa52d391.js';
96
96
  export { s as OrTooltipContent } from '../OrTooltipContent-b0dcb862.js';
97
97
  export { s as OrTooltipV3 } from '../OrTooltip.vue_vue_type_script_lang-67cc86ed.js';
98
- export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-04e51b7f.js';
98
+ export { s as OrRichTextEditorV3 } from '../OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
99
99
  import 'vue';
100
100
  import 'lodash';
101
101
  import '../OrIcon-1cae8a64.js';
@@ -38,11 +38,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
38
38
  }> & import("@vue/composition-api").Data, {}, {}, {
39
39
  modelValue: {
40
40
  type: StringConstructor;
41
- default: string;
41
+ default: undefined;
42
42
  };
43
43
  value: {
44
44
  type: StringConstructor;
45
- default: string;
45
+ default: undefined;
46
46
  };
47
47
  toolbar: {
48
48
  type: ArrayConstructor;
@@ -71,11 +71,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
71
71
  }, import("@vue/composition-api").ExtractPropTypes<{
72
72
  modelValue: {
73
73
  type: StringConstructor;
74
- default: string;
74
+ default: undefined;
75
75
  };
76
76
  value: {
77
77
  type: StringConstructor;
78
- default: string;
78
+ default: undefined;
79
79
  };
80
80
  toolbar: {
81
81
  type: ArrayConstructor;
@@ -1,4 +1,4 @@
1
- export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-04e51b7f.js';
1
+ export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
2
2
  import 'vue';
3
3
  import 'node:punycode';
4
4
  import '../../index.es-3f39f316.js';
@@ -123,8 +123,8 @@ import './OrToastContainer-f5525225.js';
123
123
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-4d4329cd.js';
124
124
  export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-6c5eee23.js';
125
125
  import './OrToastContainer-afb51e5d.js';
126
- import { s as script$Q } from './OrRichTextEditor.vue_vue_type_script_lang-04e51b7f.js';
127
- export { s as OrRichTextEditorV3 } from './OrRichTextEditor.vue_vue_type_script_lang-04e51b7f.js';
126
+ import { s as script$Q } from './OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
127
+ export { s as OrRichTextEditorV3 } from './OrRichTextEditor.vue_vue_type_script_lang-30ffacca.js';
128
128
  export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './constants-c5d1139f.js';
129
129
  export { s as OrCardV3 } from './OrCard.vue_vue_type_script_lang-165de137.js';
130
130
  export { s as OrCollapse } from './OrCollapse.vue_vue_type_script_lang-65cbb754.js';
@@ -147,11 +147,11 @@ var script = defineComponent({
147
147
  props: {
148
148
  modelValue: {
149
149
  type: String,
150
- default: ''
150
+ default: undefined
151
151
  },
152
152
  value: {
153
153
  type: String,
154
- default: ''
154
+ default: undefined
155
155
  },
156
156
  toolbar: {
157
157
  type: Array,
@@ -245,7 +245,6 @@ var script = defineComponent({
245
245
  editor
246
246
  }) => {
247
247
  if (props.markdownFormat) {
248
- console.log(proxyModelValue.value, 'on crete');
249
248
  const deserialized = deserialize(editor.schema, proxyModelValue.value);
250
249
  editor.commands.setContent(deserialized);
251
250
  } else {
@@ -297,12 +296,10 @@ var script = defineComponent({
297
296
  const proxyModelValue = computed({
298
297
  get: () => {
299
298
  var _a;
300
- console.log('modelV: ', props.modelValue, 'v: ', props.value);
301
299
  return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
302
300
  },
303
301
 
304
302
  set: value => {
305
- console.log(value, 'set');
306
303
  context.emit('input', value);
307
304
  context.emit('update:modelValue', value);
308
305
  }
@@ -399,7 +396,6 @@ var script = defineComponent({
399
396
  };
400
397
  //Effects
401
398
  watch(proxyModelValue, value => {
402
- console.log(value, 'watch');
403
399
  if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
404
400
  editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
405
401
  }
@@ -532,7 +528,7 @@ var __vue_staticRenderFns__ = [];
532
528
  /* style */
533
529
  const __vue_inject_styles__ = function (inject) {
534
530
  if (!inject) return;
535
- inject("data-v-5840ac70_0", {
531
+ inject("data-v-3d0b3e9c_0", {
536
532
  source: ".tiptap-editor ol{margin:0 24px;list-style:decimal}.tiptap-editor ul{margin:0 24px;list-style:initial}.tiptap-editor pre{background-color:rgba(186,209,236,.3);padding:4px 8px;margin:4px 0;width:100%;border-radius:4px}.tiptap-editor blockquote{margin:8px 24px;padding:0 24px;border-left:4px solid #bad1ec}.tiptap-editor .is-editor-empty::before{content:attr(data-placeholder);height:0;pointer-events:none;float:left}",
537
533
  map: undefined,
538
534
  media: undefined
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665
95
95
  export { _ as OrTooltip } from '../OrTooltip-614b016d.js';
96
96
  export { _ as OrTooltipContent } from '../OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
97
97
  export { _ as OrTooltipV3 } from '../OrTooltip-513bee30.js';
98
- export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-1638b259.js';
98
+ export { _ as OrRichTextEditorV3 } from '../OrRichTextEditor-8ab8e0f7.js';
99
99
  import 'vue-demi';
100
100
  import 'lodash';
101
101
  import '../normalize-component-6e8e3d80.js';
@@ -38,11 +38,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
38
38
  }> & import("@vue/composition-api").Data, {}, {}, {
39
39
  modelValue: {
40
40
  type: StringConstructor;
41
- default: string;
41
+ default: undefined;
42
42
  };
43
43
  value: {
44
44
  type: StringConstructor;
45
- default: string;
45
+ default: undefined;
46
46
  };
47
47
  toolbar: {
48
48
  type: ArrayConstructor;
@@ -71,11 +71,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
71
71
  }, import("@vue/composition-api").ExtractPropTypes<{
72
72
  modelValue: {
73
73
  type: StringConstructor;
74
- default: string;
74
+ default: undefined;
75
75
  };
76
76
  value: {
77
77
  type: StringConstructor;
78
- default: string;
78
+ default: undefined;
79
79
  };
80
80
  toolbar: {
81
81
  type: ArrayConstructor;
@@ -1,4 +1,4 @@
1
- export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-1638b259.js';
1
+ export { _ as OrRichTextEditorV3 } from '../../OrRichTextEditor-8ab8e0f7.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -95,7 +95,7 @@ export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-06654
95
95
  export { _ as OrTooltip } from './OrTooltip-614b016d.js';
96
96
  export { _ as OrTooltipContent } from './OrTooltip.vue_rollup-plugin-vue_script-63559536.js';
97
97
  export { _ as OrTooltipV3 } from './OrTooltip-513bee30.js';
98
- export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-1638b259.js';
98
+ export { _ as OrRichTextEditorV3 } from './OrRichTextEditor-8ab8e0f7.js';
99
99
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
100
100
  export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
101
101
  export { u as useElevation } from './useElevation-31bfe1f6.js';
@@ -147,11 +147,11 @@ var script = defineComponent({
147
147
  props: {
148
148
  modelValue: {
149
149
  type: String,
150
- default: ''
150
+ default: undefined
151
151
  },
152
152
  value: {
153
153
  type: String,
154
- default: ''
154
+ default: undefined
155
155
  },
156
156
  toolbar: {
157
157
  type: Array,
@@ -245,7 +245,6 @@ var script = defineComponent({
245
245
  editor
246
246
  }) => {
247
247
  if (props.markdownFormat) {
248
- console.log(proxyModelValue.value, 'on crete');
249
248
  const deserialized = deserialize(editor.schema, proxyModelValue.value);
250
249
  editor.commands.setContent(deserialized);
251
250
  } else {
@@ -297,12 +296,10 @@ var script = defineComponent({
297
296
  const proxyModelValue = computed({
298
297
  get: () => {
299
298
  var _a;
300
- console.log('modelV: ', props.modelValue, 'v: ', props.value);
301
299
  return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
302
300
  },
303
301
 
304
302
  set: value => {
305
- console.log(value, 'set');
306
303
  context.emit('input', value);
307
304
  context.emit('update:modelValue', value);
308
305
  }
@@ -399,7 +396,6 @@ var script = defineComponent({
399
396
  };
400
397
  //Effects
401
398
  watch(proxyModelValue, value => {
402
- console.log(value, 'watch');
403
399
  if (value !== (editor === null || editor === void 0 ? void 0 : editor.getHTML()) && !props.markdownFormat) {
404
400
  editor === null || editor === void 0 ? void 0 : editor.commands.setContent(value);
405
401
  }
@@ -89,7 +89,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
89
89
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
90
90
  export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-78cd7f6b.js';
91
91
  export { s as OrTooltipV3 } from '../OrTooltip-50d27b4f.js';
92
- export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-31565bdb.js';
92
+ export { s as OrRichTextEditorV3 } from '../OrRichTextEditor-0f9798ac.js';
93
93
  import 'vue-demi';
94
94
  import 'lodash';
95
95
  import 'vue';
@@ -38,11 +38,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
38
38
  }> & import("@vue/composition-api").Data, {}, {}, {
39
39
  modelValue: {
40
40
  type: StringConstructor;
41
- default: string;
41
+ default: undefined;
42
42
  };
43
43
  value: {
44
44
  type: StringConstructor;
45
- default: string;
45
+ default: undefined;
46
46
  };
47
47
  toolbar: {
48
48
  type: ArrayConstructor;
@@ -71,11 +71,11 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
71
71
  }, import("@vue/composition-api").ExtractPropTypes<{
72
72
  modelValue: {
73
73
  type: StringConstructor;
74
- default: string;
74
+ default: undefined;
75
75
  };
76
76
  value: {
77
77
  type: StringConstructor;
78
- default: string;
78
+ default: undefined;
79
79
  };
80
80
  toolbar: {
81
81
  type: ArrayConstructor;
@@ -1,4 +1,4 @@
1
- export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor-31565bdb.js';
1
+ export { s as OrRichTextEditorV3 } from '../../OrRichTextEditor-0f9798ac.js';
2
2
  import 'vue-demi';
3
3
  import '../../useClassAttribute-47fdb016.js';
4
4
  import '@vueuse/core';
@@ -89,7 +89,7 @@ export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-8
89
89
  export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
90
90
  export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
91
91
  export { s as OrTooltipV3 } from './OrTooltip-50d27b4f.js';
92
- export { s as OrRichTextEditorV3 } from './OrRichTextEditor-31565bdb.js';
92
+ export { s as OrRichTextEditorV3 } from './OrRichTextEditor-0f9798ac.js';
93
93
  export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
94
94
  export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
95
95
  export { u as useElevation } from './useElevation-31bfe1f6.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.70.0-beta.2130.0",
3
+ "version": "2.70.0-beta.2132.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -109,11 +109,11 @@ export default defineComponent({
109
109
  props: {
110
110
  modelValue: {
111
111
  type: String,
112
- default: '',
112
+ default: undefined,
113
113
  },
114
114
  value: { // TODO: Remove Vue 2 fallback
115
115
  type: String,
116
- default: '',
116
+ default: undefined,
117
117
  },
118
118
  toolbar: {
119
119
  type: Array,
@@ -213,7 +213,6 @@ export default defineComponent({
213
213
  },
214
214
  onCreate: ({ editor }) => {
215
215
  if (props.markdownFormat) {
216
- console.log(proxyModelValue.value, 'on crete');
217
216
  const deserialized = deserialize(editor.schema, proxyModelValue.value);
218
217
  editor.commands.setContent(deserialized);
219
218
  } else {
@@ -274,12 +273,10 @@ export default defineComponent({
274
273
  // Computed
275
274
  const proxyModelValue = computed({
276
275
  get: () => {
277
- console.log('modelV: ', props.modelValue, 'v: ', props.value);
278
276
  return props.modelValue ?? props.value; // TODO: Remove Vue 2 fallback
279
277
  },
280
278
 
281
279
  set: (value) => {
282
- console.log(value, 'set');
283
280
  context.emit('input', value);
284
281
  context.emit('update:modelValue', value);
285
282
  },
@@ -414,7 +411,6 @@ export default defineComponent({
414
411
 
415
412
  //Effects
416
413
  watch(proxyModelValue, (value) => {
417
- console.log(value, 'watch');
418
414
  if (value !== editor?.getHTML() && !props.markdownFormat) {
419
415
  editor?.commands.setContent(value as string);
420
416
  }