pxx-vue-quill 1.0.33 → 1.0.34

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-08-28T10:30:27.567Z
10
+ * Date: 2025-08-29T03:01:47.258Z
11
11
  */
12
12
  import { defineComponent, h, onMounted, onBeforeUnmount, ref, computed, watchEffect, watch, nextTick } from 'vue';
13
13
 
@@ -18553,52 +18553,44 @@ var es = /*#__PURE__*/Object.freeze({
18553
18553
 
18554
18554
  var require$$0 = /*@__PURE__*/getAugmentedNamespace(es);
18555
18555
 
18556
- var Action = {};
18556
+ var Action$1 = {};
18557
18557
 
18558
- var hasRequiredAction;
18559
-
18560
- function requireAction () {
18561
- if (hasRequiredAction) return Action;
18562
- hasRequiredAction = 1;
18563
-
18564
- Object.defineProperty(Action, "__esModule", {
18565
- value: true
18566
- });
18558
+ Object.defineProperty(Action$1, "__esModule", {
18559
+ value: true
18560
+ });
18567
18561
 
18568
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
18562
+ var _createClass$2 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
18569
18563
 
18570
- var _BlotFormatter = requireBlotFormatter();
18564
+ var _BlotFormatter$1 = requireBlotFormatter();
18571
18565
 
18572
- _interopRequireDefault(_BlotFormatter);
18566
+ _interopRequireDefault$1(_BlotFormatter$1);
18573
18567
 
18574
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18568
+ function _interopRequireDefault$1(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18575
18569
 
18576
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18570
+ function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18577
18571
 
18578
- var Action$1 = function () {
18579
- function Action(formatter) {
18580
- _classCallCheck(this, Action);
18572
+ var Action = function () {
18573
+ function Action(formatter) {
18574
+ _classCallCheck$2(this, Action);
18581
18575
 
18582
- this.formatter = formatter;
18583
- }
18576
+ this.formatter = formatter;
18577
+ }
18584
18578
 
18585
- _createClass(Action, [{
18586
- key: 'onCreate',
18587
- value: function onCreate() {}
18588
- }, {
18589
- key: 'onDestroy',
18590
- value: function onDestroy() {}
18591
- }, {
18592
- key: 'onUpdate',
18593
- value: function onUpdate() {}
18594
- }]);
18579
+ _createClass$2(Action, [{
18580
+ key: 'onCreate',
18581
+ value: function onCreate() {}
18582
+ }, {
18583
+ key: 'onDestroy',
18584
+ value: function onDestroy() {}
18585
+ }, {
18586
+ key: 'onUpdate',
18587
+ value: function onUpdate() {}
18588
+ }]);
18595
18589
 
18596
- return Action;
18597
- }();
18590
+ return Action;
18591
+ }();
18598
18592
 
18599
- Action.default = Action$1;
18600
- return Action;
18601
- }
18593
+ Action$1.default = Action;
18602
18594
 
18603
18595
  var hasRequiredBlotFormatter;
18604
18596
 
@@ -18620,7 +18612,7 @@ function requireBlotFormatter () {
18620
18612
 
18621
18613
  var _Options2 = _interopRequireDefault(_Options);
18622
18614
 
18623
- var _Action = requireAction();
18615
+ var _Action = Action$1;
18624
18616
 
18625
18617
  _interopRequireDefault(_Action);
18626
18618
 
@@ -18778,11 +18770,11 @@ Object.defineProperty(DefaultAligner$1, "__esModule", {
18778
18770
  value: true
18779
18771
  });
18780
18772
 
18781
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
18773
+ var _createClass$1 = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
18782
18774
 
18783
18775
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18784
18776
 
18785
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18777
+ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18786
18778
 
18787
18779
  var LEFT_ALIGN = 'left';
18788
18780
  var CENTER_ALIGN = 'center';
@@ -18793,7 +18785,7 @@ var DefaultAligner = function () {
18793
18785
  var _this = this,
18794
18786
  _alignments;
18795
18787
 
18796
- _classCallCheck(this, DefaultAligner);
18788
+ _classCallCheck$1(this, DefaultAligner);
18797
18789
 
18798
18790
  this.applyStyle = options.aligner.applyStyle;
18799
18791
  this.alignAttribute = options.attribute;
@@ -18821,7 +18813,7 @@ var DefaultAligner = function () {
18821
18813
  }), _alignments);
18822
18814
  }
18823
18815
 
18824
- _createClass(DefaultAligner, [{
18816
+ _createClass$1(DefaultAligner, [{
18825
18817
  key: 'getAlignments',
18826
18818
  value: function getAlignments() {
18827
18819
  var _this2 = this;
@@ -19059,7 +19051,7 @@ function requireAlignAction () {
19059
19051
 
19060
19052
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
19061
19053
 
19062
- var _Action2 = requireAction();
19054
+ var _Action2 = Action$1;
19063
19055
 
19064
19056
  var _Action3 = _interopRequireDefault(_Action2);
19065
19057
 
@@ -19138,7 +19130,7 @@ function requireResizeAction () {
19138
19130
 
19139
19131
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
19140
19132
 
19141
- var _Action2 = requireAction();
19133
+ var _Action2 = Action$1;
19142
19134
 
19143
19135
  var _Action3 = _interopRequireDefault(_Action2);
19144
19136
 
@@ -19327,7 +19319,7 @@ function requireDeleteAction () {
19327
19319
 
19328
19320
  var _quill2 = _interopRequireDefault(_quill);
19329
19321
 
19330
- var _Action2 = requireAction();
19322
+ var _Action2 = Action$1;
19331
19323
 
19332
19324
  var _Action3 = _interopRequireDefault(_Action2);
19333
19325
 
@@ -19406,7 +19398,7 @@ function requireBlotSpec () {
19406
19398
 
19407
19399
  _interopRequireDefault(_BlotFormatter);
19408
19400
 
19409
- var _Action = requireAction();
19401
+ var _Action = Action$1;
19410
19402
 
19411
19403
  _interopRequireDefault(_Action);
19412
19404
 
@@ -19546,156 +19538,148 @@ function requireImageSpec () {
19546
19538
 
19547
19539
  var IframeVideoSpec = {};
19548
19540
 
19549
- var UnclickableBlotSpec = {};
19550
-
19551
- var hasRequiredUnclickableBlotSpec;
19541
+ var UnclickableBlotSpec$1 = {};
19552
19542
 
19553
- function requireUnclickableBlotSpec () {
19554
- if (hasRequiredUnclickableBlotSpec) return UnclickableBlotSpec;
19555
- hasRequiredUnclickableBlotSpec = 1;
19556
-
19557
- Object.defineProperty(UnclickableBlotSpec, "__esModule", {
19558
- value: true
19559
- });
19560
-
19561
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
19543
+ Object.defineProperty(UnclickableBlotSpec$1, "__esModule", {
19544
+ value: true
19545
+ });
19562
19546
 
19563
- var _BlotSpec2 = requireBlotSpec();
19547
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
19564
19548
 
19565
- var _BlotSpec3 = _interopRequireDefault(_BlotSpec2);
19549
+ var _BlotSpec2 = requireBlotSpec();
19566
19550
 
19567
- var _BlotFormatter = requireBlotFormatter();
19551
+ var _BlotSpec3 = _interopRequireDefault(_BlotSpec2);
19568
19552
 
19569
- _interopRequireDefault(_BlotFormatter);
19553
+ var _BlotFormatter = requireBlotFormatter();
19570
19554
 
19571
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19555
+ _interopRequireDefault(_BlotFormatter);
19572
19556
 
19573
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19557
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19574
19558
 
19575
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
19559
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19576
19560
 
19577
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19561
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
19578
19562
 
19579
- var MOUSE_ENTER_ATTRIBUTE = 'data-blot-formatter-unclickable-bound';
19580
- var PROXY_IMAGE_CLASS = 'blot-formatter__proxy-image';
19563
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19581
19564
 
19582
- var UnclickableBlotSpec$1 = function (_BlotSpec) {
19583
- _inherits(UnclickableBlotSpec, _BlotSpec);
19565
+ var MOUSE_ENTER_ATTRIBUTE = 'data-blot-formatter-unclickable-bound';
19566
+ var PROXY_IMAGE_CLASS = 'blot-formatter__proxy-image';
19584
19567
 
19585
- function UnclickableBlotSpec(formatter, selector) {
19586
- _classCallCheck(this, UnclickableBlotSpec);
19568
+ var UnclickableBlotSpec = function (_BlotSpec) {
19569
+ _inherits(UnclickableBlotSpec, _BlotSpec);
19587
19570
 
19588
- var _this = _possibleConstructorReturn(this, (UnclickableBlotSpec.__proto__ || Object.getPrototypeOf(UnclickableBlotSpec)).call(this, formatter));
19571
+ function UnclickableBlotSpec(formatter, selector) {
19572
+ _classCallCheck(this, UnclickableBlotSpec);
19589
19573
 
19590
- _this.onTextChange = function () {
19591
- Array.from(document.querySelectorAll(_this.selector + ':not([' + MOUSE_ENTER_ATTRIBUTE + '])')).forEach(function (unclickable) {
19592
- unclickable.setAttribute(MOUSE_ENTER_ATTRIBUTE, 'true');
19593
- unclickable.addEventListener('mouseenter', _this.onMouseEnter);
19594
- });
19595
- };
19574
+ var _this = _possibleConstructorReturn(this, (UnclickableBlotSpec.__proto__ || Object.getPrototypeOf(UnclickableBlotSpec)).call(this, formatter));
19596
19575
 
19597
- _this.onMouseEnter = function (event) {
19598
- var unclickable = event.target;
19599
- if (!(unclickable instanceof HTMLElement)) {
19600
- return;
19601
- }
19576
+ _this.onTextChange = function () {
19577
+ Array.from(document.querySelectorAll(_this.selector + ':not([' + MOUSE_ENTER_ATTRIBUTE + '])')).forEach(function (unclickable) {
19578
+ unclickable.setAttribute(MOUSE_ENTER_ATTRIBUTE, 'true');
19579
+ unclickable.addEventListener('mouseenter', _this.onMouseEnter);
19580
+ });
19581
+ };
19602
19582
 
19603
- _this.nextUnclickable = unclickable;
19604
- _this.repositionProxyImage(_this.nextUnclickable);
19605
- };
19583
+ _this.onMouseEnter = function (event) {
19584
+ var unclickable = event.target;
19585
+ if (!(unclickable instanceof HTMLElement)) {
19586
+ return;
19587
+ }
19606
19588
 
19607
- _this.onProxyImageClick = function () {
19608
- _this.unclickable = _this.nextUnclickable;
19609
- _this.nextUnclickable = null;
19610
- _this.formatter.show(_this);
19611
- _this.hideProxyImage();
19612
- };
19589
+ _this.nextUnclickable = unclickable;
19590
+ _this.repositionProxyImage(_this.nextUnclickable);
19591
+ };
19613
19592
 
19614
- _this.selector = selector;
19615
- _this.unclickable = null;
19616
- _this.nextUnclickable = null;
19617
- return _this;
19618
- }
19593
+ _this.onProxyImageClick = function () {
19594
+ _this.unclickable = _this.nextUnclickable;
19595
+ _this.nextUnclickable = null;
19596
+ _this.formatter.show(_this);
19597
+ _this.hideProxyImage();
19598
+ };
19619
19599
 
19620
- _createClass(UnclickableBlotSpec, [{
19621
- key: 'init',
19622
- value: function init() {
19623
- if (document.body) {
19624
- /*
19625
- it's important that this is attached to the body instead of the root quill element.
19626
- this prevents the click event from overlapping with ImageSpec
19627
- */
19628
- document.body.appendChild(this.createProxyImage());
19629
- }
19600
+ _this.selector = selector;
19601
+ _this.unclickable = null;
19602
+ _this.nextUnclickable = null;
19603
+ return _this;
19604
+ }
19630
19605
 
19631
- this.hideProxyImage();
19632
- this.proxyImage.addEventListener('click', this.onProxyImageClick);
19633
- this.formatter.quill.on('text-change', this.onTextChange);
19634
- }
19635
- }, {
19636
- key: 'getTargetElement',
19637
- value: function getTargetElement() {
19638
- return this.unclickable;
19639
- }
19640
- }, {
19641
- key: 'getOverlayElement',
19642
- value: function getOverlayElement() {
19643
- return this.unclickable;
19644
- }
19645
- }, {
19646
- key: 'onHide',
19647
- value: function onHide() {
19648
- this.hideProxyImage();
19649
- this.nextUnclickable = null;
19650
- this.unclickable = null;
19651
- }
19652
- }, {
19653
- key: 'createProxyImage',
19654
- value: function createProxyImage() {
19655
- var canvas = document.createElement('canvas');
19656
- var context = canvas.getContext('2d');
19657
- context.globalAlpha = 0;
19658
- context.fillRect(0, 0, 1, 1);
19659
-
19660
- this.proxyImage = document.createElement('img');
19661
- this.proxyImage.src = canvas.toDataURL('image/png');
19662
- this.proxyImage.classList.add(PROXY_IMAGE_CLASS);
19663
-
19664
- Object.assign(this.proxyImage.style, {
19665
- position: 'absolute',
19666
- margin: '0'
19667
- });
19606
+ _createClass(UnclickableBlotSpec, [{
19607
+ key: 'init',
19608
+ value: function init() {
19609
+ if (document.body) {
19610
+ /*
19611
+ it's important that this is attached to the body instead of the root quill element.
19612
+ this prevents the click event from overlapping with ImageSpec
19613
+ */
19614
+ document.body.appendChild(this.createProxyImage());
19615
+ }
19668
19616
 
19669
- return this.proxyImage;
19670
- }
19671
- }, {
19672
- key: 'hideProxyImage',
19673
- value: function hideProxyImage() {
19674
- Object.assign(this.proxyImage.style, {
19675
- display: 'none'
19676
- });
19677
- }
19678
- }, {
19679
- key: 'repositionProxyImage',
19680
- value: function repositionProxyImage(unclickable) {
19681
- var rect = unclickable.getBoundingClientRect();
19617
+ this.hideProxyImage();
19618
+ this.proxyImage.addEventListener('click', this.onProxyImageClick);
19619
+ this.formatter.quill.on('text-change', this.onTextChange);
19620
+ }
19621
+ }, {
19622
+ key: 'getTargetElement',
19623
+ value: function getTargetElement() {
19624
+ return this.unclickable;
19625
+ }
19626
+ }, {
19627
+ key: 'getOverlayElement',
19628
+ value: function getOverlayElement() {
19629
+ return this.unclickable;
19630
+ }
19631
+ }, {
19632
+ key: 'onHide',
19633
+ value: function onHide() {
19634
+ this.hideProxyImage();
19635
+ this.nextUnclickable = null;
19636
+ this.unclickable = null;
19637
+ }
19638
+ }, {
19639
+ key: 'createProxyImage',
19640
+ value: function createProxyImage() {
19641
+ var canvas = document.createElement('canvas');
19642
+ var context = canvas.getContext('2d');
19643
+ context.globalAlpha = 0;
19644
+ context.fillRect(0, 0, 1, 1);
19645
+
19646
+ this.proxyImage = document.createElement('img');
19647
+ this.proxyImage.src = canvas.toDataURL('image/png');
19648
+ this.proxyImage.classList.add(PROXY_IMAGE_CLASS);
19649
+
19650
+ Object.assign(this.proxyImage.style, {
19651
+ position: 'absolute',
19652
+ margin: '0'
19653
+ });
19682
19654
 
19683
- Object.assign(this.proxyImage.style, {
19684
- display: 'block',
19685
- left: rect.left + window.pageXOffset + 'px',
19686
- top: rect.top + window.pageYOffset + 'px',
19687
- width: rect.width + 'px',
19688
- height: rect.height + 'px'
19689
- });
19690
- }
19691
- }]);
19655
+ return this.proxyImage;
19656
+ }
19657
+ }, {
19658
+ key: 'hideProxyImage',
19659
+ value: function hideProxyImage() {
19660
+ Object.assign(this.proxyImage.style, {
19661
+ display: 'none'
19662
+ });
19663
+ }
19664
+ }, {
19665
+ key: 'repositionProxyImage',
19666
+ value: function repositionProxyImage(unclickable) {
19667
+ var rect = unclickable.getBoundingClientRect();
19668
+
19669
+ Object.assign(this.proxyImage.style, {
19670
+ display: 'block',
19671
+ left: rect.left + window.pageXOffset + 'px',
19672
+ top: rect.top + window.pageYOffset + 'px',
19673
+ width: rect.width + 'px',
19674
+ height: rect.height + 'px'
19675
+ });
19676
+ }
19677
+ }]);
19692
19678
 
19693
- return UnclickableBlotSpec;
19694
- }(_BlotSpec3.default);
19679
+ return UnclickableBlotSpec;
19680
+ }(_BlotSpec3.default);
19695
19681
 
19696
- UnclickableBlotSpec.default = UnclickableBlotSpec$1;
19697
- return UnclickableBlotSpec;
19698
- }
19682
+ UnclickableBlotSpec$1.default = UnclickableBlotSpec;
19699
19683
 
19700
19684
  var hasRequiredIframeVideoSpec;
19701
19685
 
@@ -19707,7 +19691,7 @@ function requireIframeVideoSpec () {
19707
19691
  value: true
19708
19692
  });
19709
19693
 
19710
- var _UnclickableBlotSpec2 = requireUnclickableBlotSpec();
19694
+ var _UnclickableBlotSpec2 = UnclickableBlotSpec$1;
19711
19695
 
19712
19696
  var _UnclickableBlotSpec3 = _interopRequireDefault(_UnclickableBlotSpec2);
19713
19697
 
@@ -19862,7 +19846,7 @@ function requireOptions () {
19862
19846
  }
19863
19847
  });
19864
19848
 
19865
- var _Action = requireAction();
19849
+ var _Action = Action$1;
19866
19850
 
19867
19851
  Object.defineProperty(exports, 'Action', {
19868
19852
  enumerable: true,
@@ -19934,7 +19918,7 @@ function requireOptions () {
19934
19918
  }
19935
19919
  });
19936
19920
 
19937
- var _UnclickableBlotSpec = requireUnclickableBlotSpec();
19921
+ var _UnclickableBlotSpec = UnclickableBlotSpec$1;
19938
19922
 
19939
19923
  Object.defineProperty(exports, 'UnclickableBlotSpec', {
19940
19924
  enumerable: true,
@@ -20286,8 +20270,8 @@ const QuillEditor = defineComponent({
20286
20270
  return {
20287
20271
  'quill-editor-container': true,
20288
20272
  'more-toolbar': showMoreToolbar.value,
20289
- 'fixed-top': props.toolbarMode === 'fixed-top',
20290
- 'embedded': props.toolbarMode === 'embedded',
20273
+ [props.toolbarMode]: true,
20274
+ 'no-collapse': !props.needCollapse,
20291
20275
  };
20292
20276
  });
20293
20277
  // 应用自定义toolbar样式,目前通过改dom的形式,因为h函数没有暴露更深的dom,无法绑定真正的toolbar