pxx-vue-quill 1.0.52 → 1.0.54
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/vue-quill.umd.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) 2025 Pxx-Team
|
|
9
9
|
* Released under the MIT license
|
|
10
|
-
* Date: 2025-09-
|
|
10
|
+
* Date: 2025-09-02T08:02:24.939Z
|
|
11
11
|
*/
|
|
12
12
|
(function (global, factory) {
|
|
13
13
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -20184,7 +20184,13 @@
|
|
|
20184
20184
|
vue.onMounted(() => {
|
|
20185
20185
|
initialize();
|
|
20186
20186
|
});
|
|
20187
|
+
const removeQuillBlotFormatter = () => {
|
|
20188
|
+
const overlay = quill === null || quill === void 0 ? void 0 : quill.getModule('blotFormatter').overlay;
|
|
20189
|
+
if (overlay)
|
|
20190
|
+
overlay.remove();
|
|
20191
|
+
};
|
|
20187
20192
|
vue.onBeforeUnmount(() => {
|
|
20193
|
+
removeQuillBlotFormatter();
|
|
20188
20194
|
quill = null;
|
|
20189
20195
|
});
|
|
20190
20196
|
let quill;
|
|
@@ -20386,6 +20392,7 @@
|
|
|
20386
20392
|
ctx.emit('blur', editor);
|
|
20387
20393
|
});
|
|
20388
20394
|
const handleEditorChange = (...args) => {
|
|
20395
|
+
removeQuillBlotFormatter();
|
|
20389
20396
|
if (args[0] === 'text-change')
|
|
20390
20397
|
ctx.emit('editorChange', {
|
|
20391
20398
|
name: args[0],
|
|
@@ -20533,7 +20540,7 @@
|
|
|
20533
20540
|
reinit,
|
|
20534
20541
|
editorWrapClass,
|
|
20535
20542
|
showMoreToolbar,
|
|
20536
|
-
moreToolbarToolClick
|
|
20543
|
+
moreToolbarToolClick,
|
|
20537
20544
|
};
|
|
20538
20545
|
},
|
|
20539
20546
|
render() {
|