pxx-vue-quill 1.0.150 → 1.0.152

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-11T06:13:42.277Z
10
+ * Date: 2025-09-11T08:27:54.256Z
11
11
  */
12
12
  (function (global, factory) {
13
13
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -20635,6 +20635,10 @@
20635
20635
  const toolbarClickHandler = (event) => {
20636
20636
  var _a;
20637
20637
  const target = event.target;
20638
+ const selection = window.getSelection();
20639
+ if (selection && selection.toString().trim().length > 0) {
20640
+ return;
20641
+ }
20638
20642
  const isCustomLinkClick = target.closest('.ql-custom-link') ||
20639
20643
  target.closest('.custom-link-input') ||
20640
20644
  target.closest('.custom-link-btn');