pxx-vue-quill 1.0.85 → 1.0.86

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.
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Copyright (c) 2025 Pxx-Team
9
9
  * Released under the MIT license
10
- * Date: 2025-09-08T04:02:29.450Z
10
+ * Date: 2025-09-08T04:05:45.797Z
11
11
  */
12
12
  (function (global, factory) {
13
13
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -20174,10 +20174,12 @@
20174
20174
  setup: (props, ctx) => {
20175
20175
  vue.onMounted(() => {
20176
20176
  initialize();
20177
+ console.log("onMounted handleGlobalClick");
20177
20178
  document.addEventListener('click', handleGlobalClick);
20178
20179
  document.addEventListener('keyup', handleGlobalKeyup, true);
20179
20180
  });
20180
20181
  const removeQuillBlotFormatter = () => {
20182
+ console.log("removeQuillBlotFormatter");
20181
20183
  try {
20182
20184
  const blotFormatter = quill === null || quill === void 0 ? void 0 : quill.getModule('blotFormatter');
20183
20185
  if (blotFormatter && blotFormatter.overlay) {
@@ -20192,12 +20194,14 @@
20192
20194
  }
20193
20195
  };
20194
20196
  const handleGlobalClick = (event) => {
20197
+ console.log("start handleGlobalClick");
20195
20198
  if (!editor.value)
20196
20199
  return;
20197
20200
  const blotFormatter = quill === null || quill === void 0 ? void 0 : quill.getModule('blotFormatter');
20198
20201
  if (!blotFormatter || !blotFormatter.overlay)
20199
20202
  return;
20200
20203
  const isClickInsideEditor = editor.value.contains(event.target);
20204
+ console.log("isClickInsideEditor", isClickInsideEditor);
20201
20205
  if (!isClickInsideEditor) {
20202
20206
  removeQuillBlotFormatter();
20203
20207
  }