@vueup/vue-quill 1.2.1 → 1.4.0

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.
@@ -1,12 +1,12 @@
1
1
  /*!
2
- * VueQuill @vueup/vue-quill v1.2.1
2
+ * VueQuill @vueup/vue-quill v1.4.0
3
3
  * https://vueup.github.io/vue-quill/
4
4
  *
5
- * Includes quill v1.3.7
5
+ * Includes quill v2.0.2 || >=2.0.4 <3
6
6
  * https://quilljs.com/
7
7
  *
8
8
  * Copyright (c) 2026 Ahmad Luthfi Masruri
9
9
  * Released under the MIT license
10
- * Date: 2026-06-01T03:41:54.233Z
10
+ * Date: 2026-06-02T00:10:10.011Z
11
11
  */
12
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("quill"),t=require("quill-delta"),o=require("vue");function l(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var n=l(e),r=l(t);const i={essential:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}],["blockquote","code-block","link"],[{color:[]},"clean"]],minimal:[[{header:1},{header:2}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}]],full:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["link","video","image"],["clean"]]},a=o.defineComponent({name:"QuillEditor",inheritAttrs:!1,props:{content:{type:[String,Object]},contentType:{type:String,default:"delta",validator:e=>["delta","html","text"].includes(e)},enable:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},placeholder:{type:String,required:!1},theme:{type:String,default:"snow",validator:e=>["snow","bubble",""].includes(e)},toolbar:{type:[String,Array,Object],required:!1,validator:e=>"string"!=typeof e||""===e||("#"===e.charAt(0)||-1!==Object.keys(i).indexOf(e))},modules:{type:Object,required:!1},options:{type:Object,required:!1},globalOptions:{type:Object,required:!1}},emits:["textChange","selectionChange","editorChange","update:content","focus","blur","ready"],setup:(e,t)=>{let l,a;o.onMounted((()=>{u()})),o.onBeforeUnmount((()=>{l=null}));const s=o.ref(),d=(e,t)=>{const o=n.imports;o&&e in o||n.register(e,t)},u=()=>{var o;if(s.value){if(a=c(),e.modules)if(Array.isArray(e.modules))for(const t of e.modules)d(`modules/${t.name}`,t.module);else d(`modules/${e.modules.name}`,e.modules.module);l=new n(s.value,a),T(e.content),l.on("text-change",h),l.on("selection-change",f),l.on("editor-change",g),"bubble"!==e.theme&&s.value.classList.remove("ql-bubble"),"snow"!==e.theme&&s.value.classList.remove("ql-snow"),null===(o=l.getModule("toolbar"))||void 0===o||o.container.addEventListener("mousedown",(e=>{e.preventDefault()})),t.emit("ready",l)}},c=()=>{const t={};if(""!==e.theme&&(t.theme=e.theme),e.readOnly&&(t.readOnly=e.readOnly),e.placeholder&&(t.placeholder=e.placeholder),e.toolbar&&""!==e.toolbar&&(t.modules={toolbar:(()=>{if("object"==typeof e.toolbar)return e.toolbar;if("string"==typeof e.toolbar){return"#"===e.toolbar.charAt(0)?e.toolbar:i[e.toolbar]}})()}),e.modules){const o=(()=>{var t,o;const l={};if(Array.isArray(e.modules))for(const n of e.modules)l[n.name]=null!==(t=n.options)&&void 0!==t?t:{};else l[e.modules.name]=null!==(o=e.modules.options)&&void 0!==o?o:{};return l})();t.modules=Object.assign({},t.modules,o)}return Object.assign({},e.globalOptions,e.options,t)},b=e=>"object"==typeof e&&e?e.slice():e;let p;const m=e=>{if(typeof p==typeof e){if(e===p)return!0;if("object"==typeof e&&e&&"object"==typeof p&&p)return t=p.diff(e),!Object.values(t.ops).some((e=>!e.retain||1!==Object.keys(e).length))}var t;return!1},h=(o,l,n)=>{p=b(y()),m(e.content)||t.emit("update:content",p),t.emit("textChange",{delta:o,oldContents:l,source:n})},v=o.ref(),f=(e,o,n)=>{v.value=!!(null==l?void 0:l.hasFocus()),t.emit("selectionChange",{range:e,oldRange:o,source:n})};o.watch(v,(e=>{t.emit(e?"focus":"blur",s)}));const g=(...e)=>{"text-change"===e[0]&&t.emit("editorChange",{name:e[0],delta:e[1],oldContents:e[2],source:e[3]}),"selection-change"===e[0]&&t.emit("editorChange",{name:e[0],range:e[1],oldRange:e[2],source:e[3]})},y=(t,o)=>"html"===e.contentType?j():"text"===e.contentType?x(t,o):null==l?void 0:l.getContents(t,o),T=(t,o="api")=>{const n=t||("delta"===e.contentType?new r:"");"html"===e.contentType?q(n):"text"===e.contentType?O(n,o):null==l||l.setContents(n,o),p=b(n)},x=(e,t)=>{var o;return null!==(o=null==l?void 0:l.getText(e,t))&&void 0!==o?o:""},O=(e,t="api")=>{null==l||l.setText(e,t)},j=()=>{var e;return null!==(e=null==l?void 0:l.root.innerHTML)&&void 0!==e?e:""},q=e=>{l&&(l.root.innerHTML=e)};return o.watch((()=>e.content),(e=>{if(!l||!e||m(e))return;const t=l.getSelection();t&&o.nextTick((()=>null==l?void 0:l.setSelection(t))),T(e)}),{deep:!0}),o.watch((()=>e.enable),(e=>{l&&l.enable(e)})),{editor:s,getEditor:()=>s.value,getToolbar:()=>{var e;return null===(e=null==l?void 0:l.getModule("toolbar"))||void 0===e?void 0:e.container},getQuill:()=>{if(l)return l;throw'The quill editor hasn\'t been instantiated yet,\n make sure to call this method when the editor ready\n or use v-on:ready="onReady(quill)" event instead.'},getContents:y,setContents:T,getHTML:j,setHTML:q,pasteHTML:(e,t="api")=>{const o=null==l?void 0:l.clipboard.convert(e);o&&(null==l||l.setContents(o,t))},focus:()=>{null==l||l.focus()},getText:x,setText:O,reinit:()=>{o.nextTick((()=>{var e;!t.slots.toolbar&&l&&(null===(e=l.getModule("toolbar"))||void 0===e||e.container.remove()),u()}))}}},render(){var e,t;return[null===(t=(e=this.$slots).toolbar)||void 0===t?void 0:t.call(e),o.h("div",{ref:"editor",...this.$attrs})]}});exports.Quill=n,exports.Delta=r,exports.QuillEditor=a;
12
+ "use strict";var e=require("quill-delta"),t=require("vue");const o={essential:[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}],["blockquote","code-block","link"],[{color:[]},"clean"]],minimal:[[{header:1},{header:2}],["bold","italic","underline"],[{list:"ordered"},{list:"bullet"},{align:[]}]],full:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["link","video","image"],["clean"]]};let n,l,r=[];const i=()=>"undefined"!=typeof document,a=async()=>{if(n)return n;if(!i())throw new Error("@vueup/vue-quill: Quill can only be loaded in a browser environment.");return null!=l||(l=import("quill").then(({default:e})=>(n=e,(e=>{const t=r;r=[];for(const o of t)e.register(...o)})(e),e))),l},s=()=>{if(n)return n;throw new Error("@vueup/vue-quill: Quill is not loaded yet. Use loadQuill() in a browser-only lifecycle hook, or access the Quill instance from the ready event.")},u=new Proxy(function(){},{get(e,t){if("register"===t)return(...e)=>{if(n)return n.register(...e);r.push(e),i()&&a()};const o=s(),l=o[t];return"function"==typeof l?l.bind(o):l},construct:(e,t)=>new(s())(...t)}),d=t.defineComponent({name:"QuillEditor",inheritAttrs:!1,props:{content:{type:[String,Object]},contentType:{type:String,default:"delta",validator:e=>["delta","html","text"].includes(e)},enable:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},placeholder:{type:String,required:!1},theme:{type:String,default:"snow",validator:e=>["snow","bubble",""].includes(e)},toolbar:{type:[String,Array,Object],required:!1,validator:e=>"string"!=typeof e||""===e||("#"===e.charAt(0)||-1!==Object.keys(o).indexOf(e))},modules:{type:Object,required:!1},options:{type:Object,required:!1},globalOptions:{type:Object,required:!1}},emits:["textChange","selectionChange","editorChange","update:content","focus","blur","ready"],setup:(n,l)=>{t.onMounted(()=>{s=!1,c()}),t.onBeforeUnmount(()=>{r=null,s=!0});let r,i,s=!1;const u=t.ref(),d=(e,t,o)=>{const n=e.imports;n&&t in n||e.register(t,o)},c=async()=>{var e,t;if(!u.value)return;const o=u.value,c=await a();if(!s&&u.value&&u.value===o){if(i=p(),n.modules)if(Array.isArray(n.modules))for(const e of n.modules)d(c,`modules/${e.name}`,e.module);else d(c,`modules/${n.modules.name}`,n.modules.module);r=new c(u.value,i),T(n.content),r.on("text-change",h),r.on("selection-change",y),r.on("editor-change",w),"bubble"!==n.theme&&u.value.classList.remove("ql-bubble"),"snow"!==n.theme&&u.value.classList.remove("ql-snow"),null===(t=null===(e=m())||void 0===e?void 0:e.container)||void 0===t||t.addEventListener("mousedown",e=>{e.preventDefault()}),l.emit("ready",r)}},p=()=>{const e={};if(""!==n.theme&&(e.theme=n.theme),n.readOnly&&(e.readOnly=n.readOnly),n.placeholder&&(e.placeholder=n.placeholder),n.toolbar&&""!==n.toolbar&&(e.modules={toolbar:(()=>{if("object"==typeof n.toolbar)return n.toolbar;if("string"==typeof n.toolbar){return"#"===n.toolbar.charAt(0)?n.toolbar:o[n.toolbar]}})()}),n.modules){const t=(()=>{var e,t;const o={};if(Array.isArray(n.modules))for(const l of n.modules)o[l.name]=null!==(e=l.options)&&void 0!==e?e:{};else o[n.modules.name]=null!==(t=n.modules.options)&&void 0!==t?t:{};return o})();e.modules=Object.assign({},e.modules,t)}return Object.assign({},n.globalOptions,n.options,e)},b=e=>"object"==typeof e&&e?e.slice():e,m=()=>null==r?void 0:r.getModule("toolbar");let v;const f=e=>{if(typeof v==typeof e){if(e===v)return!0;if("object"==typeof e&&e&&"object"==typeof v&&v)return t=v.diff(e),!Object.values(t.ops).some(e=>!e.retain||1!==Object.keys(e).length)}var t;return!1},h=(e,t,o)=>{v=b(x()),f(n.content)||l.emit("update:content",v),l.emit("textChange",{delta:e,oldContents:t,source:o})},g=t.ref(),y=(e,t,o)=>{g.value=!!(null==r?void 0:r.hasFocus()),l.emit("selectionChange",{range:e,oldRange:t,source:o})};t.watch(g,e=>{l.emit(e?"focus":"blur",u)});const w=(...e)=>{"text-change"===e[0]&&l.emit("editorChange",{name:e[0],delta:e[1],oldContents:e[2],source:e[3]}),"selection-change"===e[0]&&l.emit("editorChange",{name:e[0],range:e[1],oldRange:e[2],source:e[3]})},x=(e,t)=>"html"===n.contentType?C():"text"===n.contentType?q(e,t):null==r?void 0:r.getContents(e,t),T=(t,o="api")=>{const l=t||("delta"===n.contentType?new e:"");"html"===n.contentType?j(l):"text"===n.contentType?O(l,o):null==r||r.setContents(l,o),v=b(l)},q=(e,t)=>{var o;return null!==(o=null==r?void 0:r.getText(e,t))&&void 0!==o?o:""},O=(e,t="api")=>{null==r||r.setText(e,t)},C=()=>{var e;return null!==(e=null==r?void 0:r.root.innerHTML)&&void 0!==e?e:""},j=e=>{r&&(r.root.innerHTML=e)};return t.watch(()=>n.content,e=>{if(!r||!e||f(e))return;const o=r.getSelection();o&&t.nextTick(()=>null==r?void 0:r.setSelection(o)),T(e)},{deep:!0}),t.watch(()=>n.enable,e=>{r&&r.enable(e)}),{editor:u,getEditor:()=>u.value,getToolbar:()=>{var e;return null===(e=m())||void 0===e?void 0:e.container},getQuill:()=>{if(r)return r;throw'The quill editor hasn\'t been instantiated yet,\n make sure to call this method when the editor ready\n or use v-on:ready="onReady(quill)" event instead.'},getContents:x,setContents:T,getHTML:C,setHTML:j,pasteHTML:(e,t="api")=>{const o=null==r?void 0:r.clipboard.convert({html:e});o&&(null==r||r.setContents(o,t))},focus:()=>{null==r||r.focus()},getText:q,setText:O,reinit:()=>{t.nextTick(()=>{var e,t;!l.slots.toolbar&&r&&(null===(t=null===(e=m())||void 0===e?void 0:e.container)||void 0===t||t.remove()),c()})}}},render(){var e,o;return[null===(o=(e=this.$slots).toolbar)||void 0===o?void 0:o.call(e),t.h("div",{ref:"editor",...this.$attrs})]}});exports.Delta=e,exports.Quill=u,exports.QuillEditor=d,exports.getLoadedQuill=()=>n,exports.loadQuill=a;
@@ -9,8 +9,9 @@
9
9
  .ql-container.ql-disabled .ql-tooltip {
10
10
  visibility: hidden;
11
11
  }
12
- .ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {
13
- pointer-events: none;
12
+ .ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,
13
+ .ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui {
14
+ cursor: pointer;
14
15
  }
15
16
  .ql-clipboard {
16
17
  left: -100000px;
@@ -25,6 +26,7 @@
25
26
  }
26
27
  .ql-editor {
27
28
  box-sizing: border-box;
29
+ counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
28
30
  line-height: 1.42;
29
31
  height: 100%;
30
32
  outline: none;
@@ -41,7 +43,6 @@
41
43
  }
42
44
  .ql-editor p,
43
45
  .ql-editor ol,
44
- .ql-editor ul,
45
46
  .ql-editor pre,
46
47
  .ql-editor blockquote,
47
48
  .ql-editor h1,
@@ -52,144 +53,213 @@
52
53
  .ql-editor h6 {
53
54
  margin: 0;
54
55
  padding: 0;
55
- counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
56
56
  }
57
- .ql-editor ol,
58
- .ql-editor ul {
57
+ @supports (counter-set: none) {
58
+ .ql-editor p,
59
+ .ql-editor h1,
60
+ .ql-editor h2,
61
+ .ql-editor h3,
62
+ .ql-editor h4,
63
+ .ql-editor h5,
64
+ .ql-editor h6 {
65
+ counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
66
+ }
67
+ }
68
+ @supports not (counter-set: none) {
69
+ .ql-editor p,
70
+ .ql-editor h1,
71
+ .ql-editor h2,
72
+ .ql-editor h3,
73
+ .ql-editor h4,
74
+ .ql-editor h5,
75
+ .ql-editor h6 {
76
+ counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
77
+ }
78
+ }
79
+ .ql-editor table {
80
+ border-collapse: collapse;
81
+ }
82
+ .ql-editor td {
83
+ border: 1px solid #000;
84
+ padding: 2px 5px;
85
+ }
86
+ .ql-editor ol {
59
87
  padding-left: 1.5em;
60
88
  }
61
- .ql-editor ol > li,
62
- .ql-editor ul > li {
89
+ .ql-editor li {
63
90
  list-style-type: none;
91
+ padding-left: 1.5em;
92
+ position: relative;
64
93
  }
65
- .ql-editor ul > li::before {
66
- content: '\2022';
67
- }
68
- .ql-editor ul[data-checked=true],
69
- .ql-editor ul[data-checked=false] {
70
- pointer-events: none;
71
- }
72
- .ql-editor ul[data-checked=true] > li *,
73
- .ql-editor ul[data-checked=false] > li * {
74
- pointer-events: all;
94
+ .ql-editor li > .ql-ui:before {
95
+ display: inline-block;
96
+ margin-left: -1.5em;
97
+ margin-right: 0.3em;
98
+ text-align: right;
99
+ white-space: nowrap;
100
+ width: 1.2em;
75
101
  }
76
- .ql-editor ul[data-checked=true] > li::before,
77
- .ql-editor ul[data-checked=false] > li::before {
102
+ .ql-editor li[data-list=checked] > .ql-ui,
103
+ .ql-editor li[data-list=unchecked] > .ql-ui {
78
104
  color: #777;
79
- cursor: pointer;
80
- pointer-events: all;
81
105
  }
82
- .ql-editor ul[data-checked=true] > li::before {
106
+ .ql-editor li[data-list=bullet] > .ql-ui:before {
107
+ content: '\2022';
108
+ }
109
+ .ql-editor li[data-list=checked] > .ql-ui:before {
83
110
  content: '\2611';
84
111
  }
85
- .ql-editor ul[data-checked=false] > li::before {
112
+ .ql-editor li[data-list=unchecked] > .ql-ui:before {
86
113
  content: '\2610';
87
114
  }
88
- .ql-editor li::before {
89
- display: inline-block;
90
- white-space: nowrap;
91
- width: 1.2em;
115
+ @supports (counter-set: none) {
116
+ .ql-editor li[data-list] {
117
+ counter-set: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
118
+ }
92
119
  }
93
- .ql-editor li:not(.ql-direction-rtl)::before {
94
- margin-left: -1.5em;
95
- margin-right: 0.3em;
96
- text-align: right;
120
+ @supports not (counter-set: none) {
121
+ .ql-editor li[data-list] {
122
+ counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
123
+ }
97
124
  }
98
- .ql-editor li.ql-direction-rtl::before {
99
- margin-left: 0.3em;
100
- margin-right: -1.5em;
101
- }
102
- .ql-editor ol li:not(.ql-direction-rtl),
103
- .ql-editor ul li:not(.ql-direction-rtl) {
104
- padding-left: 1.5em;
105
- }
106
- .ql-editor ol li.ql-direction-rtl,
107
- .ql-editor ul li.ql-direction-rtl {
108
- padding-right: 1.5em;
109
- }
110
- .ql-editor ol li {
111
- counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
125
+ .ql-editor li[data-list=ordered] {
112
126
  counter-increment: list-0;
113
127
  }
114
- .ql-editor ol li:before {
128
+ .ql-editor li[data-list=ordered] > .ql-ui:before {
115
129
  content: counter(list-0, decimal) '. ';
116
130
  }
117
- .ql-editor ol li.ql-indent-1 {
131
+ .ql-editor li[data-list=ordered].ql-indent-1 {
118
132
  counter-increment: list-1;
119
133
  }
120
- .ql-editor ol li.ql-indent-1:before {
134
+ .ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before {
121
135
  content: counter(list-1, lower-alpha) '. ';
122
136
  }
123
- .ql-editor ol li.ql-indent-1 {
124
- counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
137
+ @supports (counter-set: none) {
138
+ .ql-editor li[data-list].ql-indent-1 {
139
+ counter-set: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
140
+ }
141
+ }
142
+ @supports not (counter-set: none) {
143
+ .ql-editor li[data-list].ql-indent-1 {
144
+ counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
145
+ }
125
146
  }
126
- .ql-editor ol li.ql-indent-2 {
147
+ .ql-editor li[data-list=ordered].ql-indent-2 {
127
148
  counter-increment: list-2;
128
149
  }
129
- .ql-editor ol li.ql-indent-2:before {
150
+ .ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before {
130
151
  content: counter(list-2, lower-roman) '. ';
131
152
  }
132
- .ql-editor ol li.ql-indent-2 {
133
- counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
153
+ @supports (counter-set: none) {
154
+ .ql-editor li[data-list].ql-indent-2 {
155
+ counter-set: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
156
+ }
157
+ }
158
+ @supports not (counter-set: none) {
159
+ .ql-editor li[data-list].ql-indent-2 {
160
+ counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;
161
+ }
134
162
  }
135
- .ql-editor ol li.ql-indent-3 {
163
+ .ql-editor li[data-list=ordered].ql-indent-3 {
136
164
  counter-increment: list-3;
137
165
  }
138
- .ql-editor ol li.ql-indent-3:before {
166
+ .ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before {
139
167
  content: counter(list-3, decimal) '. ';
140
168
  }
141
- .ql-editor ol li.ql-indent-3 {
142
- counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
169
+ @supports (counter-set: none) {
170
+ .ql-editor li[data-list].ql-indent-3 {
171
+ counter-set: list-4 list-5 list-6 list-7 list-8 list-9;
172
+ }
143
173
  }
144
- .ql-editor ol li.ql-indent-4 {
174
+ @supports not (counter-set: none) {
175
+ .ql-editor li[data-list].ql-indent-3 {
176
+ counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;
177
+ }
178
+ }
179
+ .ql-editor li[data-list=ordered].ql-indent-4 {
145
180
  counter-increment: list-4;
146
181
  }
147
- .ql-editor ol li.ql-indent-4:before {
182
+ .ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before {
148
183
  content: counter(list-4, lower-alpha) '. ';
149
184
  }
150
- .ql-editor ol li.ql-indent-4 {
151
- counter-reset: list-5 list-6 list-7 list-8 list-9;
185
+ @supports (counter-set: none) {
186
+ .ql-editor li[data-list].ql-indent-4 {
187
+ counter-set: list-5 list-6 list-7 list-8 list-9;
188
+ }
189
+ }
190
+ @supports not (counter-set: none) {
191
+ .ql-editor li[data-list].ql-indent-4 {
192
+ counter-reset: list-5 list-6 list-7 list-8 list-9;
193
+ }
152
194
  }
153
- .ql-editor ol li.ql-indent-5 {
195
+ .ql-editor li[data-list=ordered].ql-indent-5 {
154
196
  counter-increment: list-5;
155
197
  }
156
- .ql-editor ol li.ql-indent-5:before {
198
+ .ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before {
157
199
  content: counter(list-5, lower-roman) '. ';
158
200
  }
159
- .ql-editor ol li.ql-indent-5 {
160
- counter-reset: list-6 list-7 list-8 list-9;
201
+ @supports (counter-set: none) {
202
+ .ql-editor li[data-list].ql-indent-5 {
203
+ counter-set: list-6 list-7 list-8 list-9;
204
+ }
205
+ }
206
+ @supports not (counter-set: none) {
207
+ .ql-editor li[data-list].ql-indent-5 {
208
+ counter-reset: list-6 list-7 list-8 list-9;
209
+ }
161
210
  }
162
- .ql-editor ol li.ql-indent-6 {
211
+ .ql-editor li[data-list=ordered].ql-indent-6 {
163
212
  counter-increment: list-6;
164
213
  }
165
- .ql-editor ol li.ql-indent-6:before {
214
+ .ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before {
166
215
  content: counter(list-6, decimal) '. ';
167
216
  }
168
- .ql-editor ol li.ql-indent-6 {
169
- counter-reset: list-7 list-8 list-9;
217
+ @supports (counter-set: none) {
218
+ .ql-editor li[data-list].ql-indent-6 {
219
+ counter-set: list-7 list-8 list-9;
220
+ }
170
221
  }
171
- .ql-editor ol li.ql-indent-7 {
222
+ @supports not (counter-set: none) {
223
+ .ql-editor li[data-list].ql-indent-6 {
224
+ counter-reset: list-7 list-8 list-9;
225
+ }
226
+ }
227
+ .ql-editor li[data-list=ordered].ql-indent-7 {
172
228
  counter-increment: list-7;
173
229
  }
174
- .ql-editor ol li.ql-indent-7:before {
230
+ .ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before {
175
231
  content: counter(list-7, lower-alpha) '. ';
176
232
  }
177
- .ql-editor ol li.ql-indent-7 {
178
- counter-reset: list-8 list-9;
233
+ @supports (counter-set: none) {
234
+ .ql-editor li[data-list].ql-indent-7 {
235
+ counter-set: list-8 list-9;
236
+ }
237
+ }
238
+ @supports not (counter-set: none) {
239
+ .ql-editor li[data-list].ql-indent-7 {
240
+ counter-reset: list-8 list-9;
241
+ }
179
242
  }
180
- .ql-editor ol li.ql-indent-8 {
243
+ .ql-editor li[data-list=ordered].ql-indent-8 {
181
244
  counter-increment: list-8;
182
245
  }
183
- .ql-editor ol li.ql-indent-8:before {
246
+ .ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before {
184
247
  content: counter(list-8, lower-roman) '. ';
185
248
  }
186
- .ql-editor ol li.ql-indent-8 {
187
- counter-reset: list-9;
249
+ @supports (counter-set: none) {
250
+ .ql-editor li[data-list].ql-indent-8 {
251
+ counter-set: list-9;
252
+ }
253
+ }
254
+ @supports not (counter-set: none) {
255
+ .ql-editor li[data-list].ql-indent-8 {
256
+ counter-reset: list-9;
257
+ }
188
258
  }
189
- .ql-editor ol li.ql-indent-9 {
259
+ .ql-editor li[data-list=ordered].ql-indent-9 {
190
260
  counter-increment: list-9;
191
261
  }
192
- .ql-editor ol li.ql-indent-9:before {
262
+ .ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before {
193
263
  content: counter(list-9, decimal) '. ';
194
264
  }
195
265
  .ql-editor .ql-indent-1:not(.ql-direction-rtl) {
@@ -300,6 +370,24 @@
300
370
  .ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {
301
371
  padding-right: 28.5em;
302
372
  }
373
+ .ql-editor li.ql-direction-rtl {
374
+ padding-right: 1.5em;
375
+ }
376
+ .ql-editor li.ql-direction-rtl > .ql-ui:before {
377
+ margin-left: 0.3em;
378
+ margin-right: -1.5em;
379
+ text-align: left;
380
+ }
381
+ .ql-editor table {
382
+ table-layout: fixed;
383
+ width: 100%;
384
+ }
385
+ .ql-editor table td {
386
+ outline: none;
387
+ }
388
+ .ql-editor .ql-code-block-container {
389
+ font-family: monospace;
390
+ }
303
391
  .ql-editor .ql-video {
304
392
  display: block;
305
393
  max-width: 100%;
@@ -380,6 +468,9 @@
380
468
  .ql-editor .ql-align-right {
381
469
  text-align: right;
382
470
  }
471
+ .ql-editor .ql-ui {
472
+ position: absolute;
473
+ }
383
474
  .ql-editor.ql-blank::before {
384
475
  color: rgba(0,0,0,0.6);
385
476
  content: attr(data-placeholder);
@@ -1 +1 @@
1
- .ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol > li,.ql-editor ul > li{list-style-type:none}.ql-editor ul > li::before{content:'\2022'}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true] > li *,.ql-editor ul[data-checked=false] > li *{pointer-events:all}.ql-editor ul[data-checked=true] > li::before,.ql-editor ul[data-checked=false] > li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true] > li::before{content:'\2611'}.ql-editor ul[data-checked=false] > li::before{content:'\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0, decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1, lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2, lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3, decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4, lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5, lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6, decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7, lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8, lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}
1
+ .ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked] > .ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked] > .ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li > .ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked] > .ql-ui,.ql-editor li[data-list=unchecked] > .ql-ui{color:#777}.ql-editor li[data-list=bullet] > .ql-ui:before{content:'\2022'}.ql-editor li[data-list=checked] > .ql-ui:before{content:'\2611'}.ql-editor li[data-list=unchecked] > .ql-ui:before{content:'\2610'}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered] > .ql-ui:before{content:counter(list-0, decimal) '. '}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1 > .ql-ui:before{content:counter(list-1, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2 > .ql-ui:before{content:counter(list-2, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3 > .ql-ui:before{content:counter(list-3, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4 > .ql-ui:before{content:counter(list-4, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5 > .ql-ui:before{content:counter(list-5, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6 > .ql-ui:before{content:counter(list-6, decimal) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7 > .ql-ui:before{content:counter(list-7, lower-alpha) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8 > .ql-ui:before{content:counter(list-8, lower-roman) '. '}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9 > .ql-ui:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl > .ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}
@@ -1,29 +1,35 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { ComponentCustomProps } from 'vue';
3
1
  import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
4
3
  import { DefineComponent } from 'vue';
5
4
  import Delta from 'quill-delta';
5
+ import type { EmitterSource } from 'quill';
6
6
  import { ExtractPropTypes } from 'vue';
7
- import { PropType } from 'vue';
8
- import Quill from 'quill';
9
- import { QuillOptionsStatic } from 'quill';
7
+ import type { PropType } from 'vue';
8
+ import { PublicProps } from 'vue';
9
+ import type { default as Quill_2 } from 'quill';
10
+ import type QuillConstructorType from 'quill';
11
+ import type { QuillOptions } from 'quill';
10
12
  import { Ref } from 'vue';
11
- import { Sources } from 'quill';
12
- import { VNodeProps } from 'vue';
13
13
 
14
14
  declare type ContentPropType = string | Delta | undefined | null;
15
15
 
16
16
  export { Delta }
17
17
 
18
+ export declare const getLoadedQuill: () => QuillConstructor | undefined;
19
+
20
+ export declare const loadQuill: () => Promise<QuillConstructor>;
21
+
18
22
  declare type Module = {
19
23
  name: string;
20
24
  module: unknown;
21
25
  options?: object;
22
26
  };
23
27
 
24
- export { Quill }
28
+ export declare const Quill: QuillConstructor;
29
+
30
+ export declare type QuillConstructor = typeof QuillConstructorType;
25
31
 
26
- export declare const QuillEditor: DefineComponent< {
32
+ export declare const QuillEditor: DefineComponent<ExtractPropTypes< {
27
33
  content: {
28
34
  type: PropType<ContentPropType>;
29
35
  };
@@ -45,7 +51,7 @@ type: StringConstructor;
45
51
  required: false;
46
52
  };
47
53
  theme: {
48
- type: PropType<"" | "snow" | "bubble">;
54
+ type: PropType<"snow" | "bubble" | "">;
49
55
  default: string;
50
56
  validator: (value: string) => boolean;
51
57
  };
@@ -59,28 +65,28 @@ type: PropType<Module | Module[]>;
59
65
  required: false;
60
66
  };
61
67
  options: {
62
- type: PropType<QuillOptionsStatic>;
68
+ type: PropType<QuillOptions>;
63
69
  required: false;
64
70
  };
65
71
  globalOptions: {
66
- type: PropType<QuillOptionsStatic>;
72
+ type: PropType<QuillOptions>;
67
73
  required: false;
68
74
  };
69
- }, {
70
- editor: Ref<Element | undefined>;
75
+ }>, {
76
+ editor: Ref<HTMLElement | undefined, HTMLElement | undefined>;
71
77
  getEditor: () => Element;
72
78
  getToolbar: () => Element;
73
- getQuill: () => Quill;
79
+ getQuill: () => Quill_2;
74
80
  getContents: (index?: number, length?: number) => string | Delta | undefined;
75
- setContents: (content: ContentPropType, source?: Sources) => void;
81
+ setContents: (content: ContentPropType, source?: EmitterSource) => void;
76
82
  getHTML: () => string;
77
83
  setHTML: (html: string) => void;
78
- pasteHTML: (html: string, source?: Sources) => void;
84
+ pasteHTML: (html: string, source?: EmitterSource) => void;
79
85
  focus: () => void;
80
86
  getText: (index?: number, length?: number) => string;
81
- setText: (text: string, source?: Sources) => void;
87
+ setText: (text: string, source?: EmitterSource) => void;
82
88
  reinit: () => void;
83
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("textChange" | "selectionChange" | "editorChange" | "update:content" | "focus" | "blur" | "ready")[], "textChange" | "selectionChange" | "editorChange" | "update:content" | "focus" | "blur" | "ready", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
89
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("textChange" | "selectionChange" | "editorChange" | "update:content" | "focus" | "blur" | "ready")[], "textChange" | "selectionChange" | "editorChange" | "update:content" | "focus" | "blur" | "ready", PublicProps, Readonly<ExtractPropTypes< {
84
90
  content: {
85
91
  type: PropType<ContentPropType>;
86
92
  };
@@ -102,7 +108,7 @@ type: StringConstructor;
102
108
  required: false;
103
109
  };
104
110
  theme: {
105
- type: PropType<"" | "snow" | "bubble">;
111
+ type: PropType<"snow" | "bubble" | "">;
106
112
  default: string;
107
113
  validator: (value: string) => boolean;
108
114
  };
@@ -116,14 +122,14 @@ type: PropType<Module | Module[]>;
116
122
  required: false;
117
123
  };
118
124
  options: {
119
- type: PropType<QuillOptionsStatic>;
125
+ type: PropType<QuillOptions>;
120
126
  required: false;
121
127
  };
122
128
  globalOptions: {
123
- type: PropType<QuillOptionsStatic>;
129
+ type: PropType<QuillOptions>;
124
130
  required: false;
125
131
  };
126
- }>> & {
132
+ }>> & Readonly<{
127
133
  onTextChange?: ((...args: any[]) => any) | undefined;
128
134
  onSelectionChange?: ((...args: any[]) => any) | undefined;
129
135
  onEditorChange?: ((...args: any[]) => any) | undefined;
@@ -131,11 +137,11 @@ onEditorChange?: ((...args: any[]) => any) | undefined;
131
137
  onFocus?: ((...args: any[]) => any) | undefined;
132
138
  onBlur?: ((...args: any[]) => any) | undefined;
133
139
  onReady?: ((...args: any[]) => any) | undefined;
134
- }, {
140
+ }>, {
135
141
  contentType: "delta" | "html" | "text";
136
142
  enable: boolean;
137
143
  readOnly: boolean;
138
144
  theme: "" | "snow" | "bubble";
139
- }>;
145
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
140
146
 
141
147
  export { }