@tailor-cms/ce-quill-html-edit 2.0.0 → 2.0.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 +5 -1
- package/dist/index.css +6 -6
- package/dist/index.js +5 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -16234,6 +16234,10 @@ var Edit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.d
|
|
|
16234
16234
|
content: content.value
|
|
16235
16235
|
});
|
|
16236
16236
|
};
|
|
16237
|
+
(0, vue.watch)(() => props.element?.data?.content, (value = "") => {
|
|
16238
|
+
if (value === content.value) return;
|
|
16239
|
+
content.value = value;
|
|
16240
|
+
});
|
|
16237
16241
|
(0, vue.watch)(() => props.isFocused, (val) => !val && save());
|
|
16238
16242
|
(0, vue.watch)(content, debounce$2(() => save(), 4e3));
|
|
16239
16243
|
return (_ctx, _cache) => {
|
|
@@ -16258,7 +16262,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
16258
16262
|
};
|
|
16259
16263
|
//#endregion
|
|
16260
16264
|
//#region src/components/Edit.vue
|
|
16261
|
-
var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Edit_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
16265
|
+
var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Edit_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-9dc7b015"]]);
|
|
16262
16266
|
//#endregion
|
|
16263
16267
|
//#region src/components/TopToolbar.vue
|
|
16264
16268
|
var _sfc_main = {};
|
package/dist/index.css
CHANGED
|
@@ -57,28 +57,28 @@
|
|
|
57
57
|
transition: none;
|
|
58
58
|
margin-left: 16px;
|
|
59
59
|
padding-right: 8px;
|
|
60
|
-
}.tce-container[data-v-
|
|
60
|
+
}.tce-container[data-v-9dc7b015] {
|
|
61
61
|
text-align: left;
|
|
62
62
|
}
|
|
63
|
-
.ql-container.ql-snow[data-v-
|
|
63
|
+
.ql-container.ql-snow[data-v-9dc7b015] {
|
|
64
64
|
border: none;
|
|
65
65
|
font-size: 1rem;
|
|
66
66
|
}
|
|
67
|
-
.placeholder[data-v-
|
|
67
|
+
.placeholder[data-v-9dc7b015] {
|
|
68
68
|
color: rgba(0, 0, 0, 0.5);
|
|
69
69
|
}
|
|
70
|
-
[data-v-
|
|
70
|
+
[data-v-9dc7b015] .ql-editor {
|
|
71
71
|
min-height: 5rem;
|
|
72
72
|
padding: 0.5rem;
|
|
73
73
|
}
|
|
74
|
-
[data-v-
|
|
74
|
+
[data-v-9dc7b015] .ql-editor.ql-blank::before {
|
|
75
75
|
width: 100%;
|
|
76
76
|
color: rgba(0, 0, 0, 0.5);
|
|
77
77
|
font-style: normal;
|
|
78
78
|
left: 0.5rem;
|
|
79
79
|
right: 0.5rem;
|
|
80
80
|
}
|
|
81
|
-
[data-v-
|
|
81
|
+
[data-v-9dc7b015] .ql-editor img {
|
|
82
82
|
vertical-align: initial;
|
|
83
83
|
}.tce-html-toolbar {
|
|
84
84
|
display: flex;
|
package/dist/index.js
CHANGED
|
@@ -16230,6 +16230,10 @@ var Edit_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
16230
16230
|
content: content.value
|
|
16231
16231
|
});
|
|
16232
16232
|
};
|
|
16233
|
+
watch(() => props.element?.data?.content, (value = "") => {
|
|
16234
|
+
if (value === content.value) return;
|
|
16235
|
+
content.value = value;
|
|
16236
|
+
});
|
|
16233
16237
|
watch(() => props.isFocused, (val) => !val && save());
|
|
16234
16238
|
watch(content, debounce$2(() => save(), 4e3));
|
|
16235
16239
|
return (_ctx, _cache) => {
|
|
@@ -16254,7 +16258,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
16254
16258
|
};
|
|
16255
16259
|
//#endregion
|
|
16256
16260
|
//#region src/components/Edit.vue
|
|
16257
|
-
var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Edit_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
16261
|
+
var Edit_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Edit_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-9dc7b015"]]);
|
|
16258
16262
|
//#endregion
|
|
16259
16263
|
//#region src/components/TopToolbar.vue
|
|
16260
16264
|
var _sfc_main = {};
|
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": "2.0.
|
|
6
|
+
"version": "2.0.1",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
29
29
|
"vue-tsc": "^3.2.7",
|
|
30
30
|
"vuetify": "^4.0.6",
|
|
31
|
-
"@tailor-cms/ce-quill-html-manifest": "2.0.
|
|
31
|
+
"@tailor-cms/ce-quill-html-manifest": "2.0.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@tailor-cms/cek-common": "2.0.1",
|