quoin-editor 1.0.2 → 1.1.1
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/CHANGELOG.md +32 -0
- package/dist/ai.cjs +169 -249
- package/dist/ai.cjs.map +1 -1
- package/dist/ai.js +38 -121
- package/dist/ai.js.map +1 -1
- package/dist/catalogue.cjs +29 -43
- package/dist/catalogue.cjs.map +1 -1
- package/dist/catalogue.js +21 -37
- package/dist/catalogue.js.map +1 -1
- package/dist/{chunk-DUE3HCZD.js → chunk-2EQ6FKSK.js} +19 -28
- package/dist/chunk-2EQ6FKSK.js.map +1 -0
- package/dist/{chunk-RJRX34BZ.js → chunk-3BXUGX5F.js} +4 -18
- package/dist/chunk-3BXUGX5F.js.map +1 -0
- package/dist/chunk-3QRVAI53.cjs +27 -0
- package/dist/chunk-3QRVAI53.cjs.map +1 -0
- package/dist/{chunk-U3LOLYAU.js → chunk-7FAVFJAS.js} +4 -10
- package/dist/chunk-7FAVFJAS.js.map +1 -0
- package/dist/{chunk-FDRUAL3Z.cjs → chunk-7NAONESM.cjs} +90 -153
- package/dist/chunk-7NAONESM.cjs.map +1 -0
- package/dist/{chunk-6V6GGBDK.cjs → chunk-7SVKLWDT.cjs} +24 -31
- package/dist/chunk-7SVKLWDT.cjs.map +1 -0
- package/dist/{chunk-CW3AFJBR.cjs → chunk-7XQGOCUG.cjs} +1332 -1772
- package/dist/chunk-7XQGOCUG.cjs.map +1 -0
- package/dist/{chunk-EH5KXQXY.cjs → chunk-A6PGQVTR.cjs} +36 -20
- package/dist/chunk-A6PGQVTR.cjs.map +1 -0
- package/dist/{chunk-4SLJNZSM.cjs → chunk-AIS37SL2.cjs} +201 -198
- package/dist/chunk-AIS37SL2.cjs.map +1 -0
- package/dist/{chunk-IQBMAE3F.js → chunk-CKHKCPGL.js} +34 -92
- package/dist/chunk-CKHKCPGL.js.map +1 -0
- package/dist/{chunk-T43RZTUT.js → chunk-DYWU4SQ2.js} +723 -1246
- package/dist/chunk-DYWU4SQ2.js.map +1 -0
- package/dist/chunk-EFRQMYZ6.cjs +33 -0
- package/dist/chunk-EFRQMYZ6.cjs.map +1 -0
- package/dist/{chunk-O4Z2WMFF.js → chunk-HDJ653LM.js} +25 -18
- package/dist/chunk-HDJ653LM.js.map +1 -0
- package/dist/chunk-HQ43EIYO.cjs +94 -0
- package/dist/chunk-HQ43EIYO.cjs.map +1 -0
- package/dist/{chunk-6NULZPVC.js → chunk-HTLWPSMU.js} +8 -61
- package/dist/chunk-HTLWPSMU.js.map +1 -0
- package/dist/{chunk-EPARJI4V.js → chunk-IEP7BPFN.js} +122 -267
- package/dist/chunk-IEP7BPFN.js.map +1 -0
- package/dist/{chunk-P6KYXFZC.cjs → chunk-IGZRZIAF.cjs} +440 -538
- package/dist/chunk-IGZRZIAF.cjs.map +1 -0
- package/dist/chunk-JCEFSTVG.cjs +483 -0
- package/dist/chunk-JCEFSTVG.cjs.map +1 -0
- package/dist/chunk-KXRGY5LK.cjs +612 -0
- package/dist/chunk-KXRGY5LK.cjs.map +1 -0
- package/dist/{chunk-JHQUHFLX.js → chunk-KZ6ZFCGO.js} +38 -120
- package/dist/chunk-KZ6ZFCGO.js.map +1 -0
- package/dist/{chunk-ADSJ42DO.js → chunk-L2QA2UTY.js} +17 -69
- package/dist/chunk-L2QA2UTY.js.map +1 -0
- package/dist/{chunk-OBMBSU2S.js → chunk-L4D23LM2.js} +5 -184
- package/dist/chunk-L4D23LM2.js.map +1 -0
- package/dist/{chunk-4XFXB37X.js → chunk-L6OW2FL3.js} +7 -90
- package/dist/chunk-L6OW2FL3.js.map +1 -0
- package/dist/chunk-LE5XMIFJ.cjs +4 -3
- package/dist/chunk-LE5XMIFJ.cjs.map +1 -1
- package/dist/chunk-MQUCCSWG.js +2 -3
- package/dist/chunk-MQUCCSWG.js.map +1 -1
- package/dist/{chunk-C23RQVRK.js → chunk-MUIPM26J.js} +66 -216
- package/dist/chunk-MUIPM26J.js.map +1 -0
- package/dist/{chunk-AUOEM3SF.cjs → chunk-OKWER2RV.cjs} +102 -155
- package/dist/chunk-OKWER2RV.cjs.map +1 -0
- package/dist/{chunk-TLGX43P6.cjs → chunk-OM7E43ZN.cjs} +89 -86
- package/dist/chunk-OM7E43ZN.cjs.map +1 -0
- package/dist/{chunk-NEZJ7ZP5.js → chunk-QSXPKZ2F.js} +4 -8
- package/dist/chunk-QSXPKZ2F.js.map +1 -0
- package/dist/{chunk-VCLL5C7J.js → chunk-RFLFRIPV.js} +14 -57
- package/dist/chunk-RFLFRIPV.js.map +1 -0
- package/dist/chunk-RIIXJWBR.cjs +24 -0
- package/dist/chunk-RIIXJWBR.cjs.map +1 -0
- package/dist/{chunk-VRS6WCEK.js → chunk-SFMORPWB.js} +60 -167
- package/dist/chunk-SFMORPWB.js.map +1 -0
- package/dist/{chunk-YBMUEEM5.js → chunk-TYZSB7JT.js} +4 -8
- package/dist/chunk-TYZSB7JT.js.map +1 -0
- package/dist/{chunk-BQANU5BH.cjs → chunk-U5BSCAMP.cjs} +34 -44
- package/dist/chunk-U5BSCAMP.cjs.map +1 -0
- package/dist/{chunk-OSHZQR3W.js → chunk-UEVR4B5S.js} +13 -45
- package/dist/chunk-UEVR4B5S.js.map +1 -0
- package/dist/{chunk-N4FGA3H4.js → chunk-VBJY2CSK.js} +38 -105
- package/dist/chunk-VBJY2CSK.js.map +1 -0
- package/dist/{chunk-ZKVOS57Q.cjs → chunk-VFSVN5IQ.cjs} +495 -551
- package/dist/chunk-VFSVN5IQ.cjs.map +1 -0
- package/dist/{chunk-X4HDKFW5.cjs → chunk-VNRI5DAL.cjs} +56 -105
- package/dist/chunk-VNRI5DAL.cjs.map +1 -0
- package/dist/chunk-W7B4WQ3L.cjs +200 -0
- package/dist/chunk-W7B4WQ3L.cjs.map +1 -0
- package/dist/{chunk-623AOJM2.js → chunk-WAGBELKA.js} +7 -25
- package/dist/chunk-WAGBELKA.js.map +1 -0
- package/dist/{chunk-WEYDDIBQ.cjs → chunk-WH56EW3H.cjs} +36 -64
- package/dist/chunk-WH56EW3H.cjs.map +1 -0
- package/dist/{chunk-5MAYUGTE.cjs → chunk-XAS7LANM.cjs} +233 -363
- package/dist/chunk-XAS7LANM.cjs.map +1 -0
- package/dist/comments.cjs +210 -290
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.js +82 -186
- package/dist/comments.js.map +1 -1
- package/dist/diff.cjs +48 -65
- package/dist/diff.cjs.map +1 -1
- package/dist/diff.d.cts +2 -2
- package/dist/diff.d.ts +2 -2
- package/dist/diff.js +8 -32
- package/dist/diff.js.map +1 -1
- package/dist/docx.cjs +50 -63
- package/dist/docx.cjs.map +1 -1
- package/dist/docx.js +7 -22
- package/dist/docx.js.map +1 -1
- package/dist/embed.cjs +19 -12
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.js +10 -16
- package/dist/embed.js.map +1 -1
- package/dist/emoji-data.cjs +7 -5
- package/dist/emoji-data.cjs.map +1 -1
- package/dist/emoji-data.js +3 -5
- package/dist/emoji-data.js.map +1 -1
- package/dist/emoji.cjs +26 -17
- package/dist/emoji.cjs.map +1 -1
- package/dist/emoji.js +9 -17
- package/dist/emoji.js.map +1 -1
- package/dist/engine.cjs +229 -118
- package/dist/engine.cjs.map +1 -1
- package/dist/engine.js +4 -118
- package/dist/engine.js.map +1 -1
- package/dist/find.cjs +30 -19
- package/dist/find.cjs.map +1 -1
- package/dist/find.js +9 -19
- package/dist/find.js.map +1 -1
- package/dist/headless.cjs +291 -151
- package/dist/headless.cjs.map +1 -1
- package/dist/headless.d.cts +5 -1
- package/dist/headless.d.ts +5 -1
- package/dist/headless.js +6 -151
- package/dist/headless.js.map +1 -1
- package/dist/index.cjs +349 -183
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -4
- package/dist/index.d.ts +17 -4
- package/dist/index.js +8 -183
- package/dist/index.js.map +1 -1
- package/dist/math.cjs +20 -13
- package/dist/math.cjs.map +1 -1
- package/dist/math.js +11 -17
- package/dist/math.js.map +1 -1
- package/dist/mention.cjs +20 -13
- package/dist/mention.cjs.map +1 -1
- package/dist/mention.js +11 -17
- package/dist/mention.js.map +1 -1
- package/dist/presence.cjs +99 -132
- package/dist/presence.cjs.map +1 -1
- package/dist/presence.js +22 -78
- package/dist/presence.js.map +1 -1
- package/dist/{registry-CWBOSAHm.d.ts → registry-CXegaw5k.d.cts} +25 -2
- package/dist/{registry-CWBOSAHm.d.cts → registry-CXegaw5k.d.ts} +25 -2
- package/dist/stats.cjs +27 -18
- package/dist/stats.cjs.map +1 -1
- package/dist/stats.js +10 -18
- package/dist/stats.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/table.cjs +90 -49
- package/dist/table.cjs.map +1 -1
- package/dist/table.js +9 -49
- package/dist/table.js.map +1 -1
- package/dist/toc.cjs +26 -17
- package/dist/toc.cjs.map +1 -1
- package/dist/toc.js +9 -17
- package/dist/toc.js.map +1 -1
- package/dist/view.cjs +13 -16
- package/dist/view.cjs.map +1 -1
- package/dist/view.d.cts +2 -2
- package/dist/view.d.ts +2 -2
- package/dist/view.js +7 -16
- package/dist/view.js.map +1 -1
- package/dist/yjs.cjs +186 -228
- package/dist/yjs.cjs.map +1 -1
- package/dist/yjs.js +12 -80
- package/dist/yjs.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunk-4SLJNZSM.cjs.map +0 -1
- package/dist/chunk-4XFXB37X.js.map +0 -1
- package/dist/chunk-5MAYUGTE.cjs.map +0 -1
- package/dist/chunk-623AOJM2.js.map +0 -1
- package/dist/chunk-6NULZPVC.js.map +0 -1
- package/dist/chunk-6V6GGBDK.cjs.map +0 -1
- package/dist/chunk-73653CJ4.cjs +0 -34
- package/dist/chunk-73653CJ4.cjs.map +0 -1
- package/dist/chunk-ADSJ42DO.js.map +0 -1
- package/dist/chunk-AUOEM3SF.cjs.map +0 -1
- package/dist/chunk-BQANU5BH.cjs.map +0 -1
- package/dist/chunk-C23RQVRK.js.map +0 -1
- package/dist/chunk-CW3AFJBR.cjs.map +0 -1
- package/dist/chunk-DUE3HCZD.js.map +0 -1
- package/dist/chunk-EH5KXQXY.cjs.map +0 -1
- package/dist/chunk-EPARJI4V.js.map +0 -1
- package/dist/chunk-FDRUAL3Z.cjs.map +0 -1
- package/dist/chunk-IQBMAE3F.js.map +0 -1
- package/dist/chunk-JHQUHFLX.js.map +0 -1
- package/dist/chunk-KUYZMSMF.cjs +0 -100
- package/dist/chunk-KUYZMSMF.cjs.map +0 -1
- package/dist/chunk-LLTEGXWZ.cjs +0 -562
- package/dist/chunk-LLTEGXWZ.cjs.map +0 -1
- package/dist/chunk-N4FGA3H4.js.map +0 -1
- package/dist/chunk-NEZJ7ZP5.js.map +0 -1
- package/dist/chunk-O4Z2WMFF.js.map +0 -1
- package/dist/chunk-OBMBSU2S.js.map +0 -1
- package/dist/chunk-OSHZQR3W.js.map +0 -1
- package/dist/chunk-P6KYXFZC.cjs.map +0 -1
- package/dist/chunk-R2BLBV43.cjs +0 -239
- package/dist/chunk-R2BLBV43.cjs.map +0 -1
- package/dist/chunk-RJRX34BZ.js.map +0 -1
- package/dist/chunk-T43RZTUT.js.map +0 -1
- package/dist/chunk-TLGX43P6.cjs.map +0 -1
- package/dist/chunk-U3LOLYAU.js.map +0 -1
- package/dist/chunk-UEKXVCKC.cjs +0 -716
- package/dist/chunk-UEKXVCKC.cjs.map +0 -1
- package/dist/chunk-VCLL5C7J.js.map +0 -1
- package/dist/chunk-VRS6WCEK.js.map +0 -1
- package/dist/chunk-WEYDDIBQ.cjs.map +0 -1
- package/dist/chunk-X4HDKFW5.cjs.map +0 -1
- package/dist/chunk-X4P4TQXH.cjs +0 -30
- package/dist/chunk-X4P4TQXH.cjs.map +0 -1
- package/dist/chunk-XA3UEJIW.cjs +0 -25
- package/dist/chunk-XA3UEJIW.cjs.map +0 -1
- package/dist/chunk-YBMUEEM5.js.map +0 -1
- package/dist/chunk-ZKVOS57Q.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,184 +1,350 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var chunk7XQGOCUG_cjs = require('./chunk-7XQGOCUG.cjs');
|
|
5
|
+
var chunkIGZRZIAF_cjs = require('./chunk-IGZRZIAF.cjs');
|
|
6
|
+
var chunkA6PGQVTR_cjs = require('./chunk-A6PGQVTR.cjs');
|
|
7
|
+
var chunkVFSVN5IQ_cjs = require('./chunk-VFSVN5IQ.cjs');
|
|
8
|
+
var chunk7SVKLWDT_cjs = require('./chunk-7SVKLWDT.cjs');
|
|
9
|
+
var chunkAIS37SL2_cjs = require('./chunk-AIS37SL2.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "BlockCanvas", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk7XQGOCUG_cjs.BlockCanvas; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "FilePickerButton", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunk7XQGOCUG_cjs.FilePickerButton; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "QuoinProvider", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunk7XQGOCUG_cjs.QuoinProvider; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "UploadField", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunk7XQGOCUG_cjs.UploadField; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "coreBlocks", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunk7XQGOCUG_cjs.coreBlocks; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "englishLabels", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunk7XQGOCUG_cjs.englishLabels; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "formatShortcut", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunk7XQGOCUG_cjs.formatShortcut; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "resolveLabels", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunk7XQGOCUG_cjs.resolveLabels; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "useAutosave", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunk7XQGOCUG_cjs.useAutosave; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "useLabels", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunk7XQGOCUG_cjs.useLabels; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "useQuoin", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunk7XQGOCUG_cjs.useQuoin; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "BlockShell", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkIGZRZIAF_cjs.BlockShell; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "EditableRegion", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkIGZRZIAF_cjs.EditableRegion; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "EditorView", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkIGZRZIAF_cjs.EditorView; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "SelectionSink", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkIGZRZIAF_cjs.SelectionSink; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "ViewController", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkIGZRZIAF_cjs.ViewController; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "VoidBlockFallback", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkIGZRZIAF_cjs.VoidBlockFallback; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "caretFromPoint", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkIGZRZIAF_cjs.caretFromPoint; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "defaultRenderers", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkIGZRZIAF_cjs.defaultRenderers; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "domMapOf", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkIGZRZIAF_cjs.domMapOf; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "hostKey", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkIGZRZIAF_cjs.hostKey; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "isCrossSelection", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkIGZRZIAF_cjs.isCrossSelection; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "renderInline", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkIGZRZIAF_cjs.renderInline; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "useEditorState", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkIGZRZIAF_cjs.useEditorState; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "useQuoinEditor", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkIGZRZIAF_cjs.useQuoinEditor; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "useViewController", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunkIGZRZIAF_cjs.useViewController; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "blockByType", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunkA6PGQVTR_cjs.blockByType; }
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "defineBlock", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return chunkA6PGQVTR_cjs.defineBlock; }
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, "paletteBlocks", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return chunkA6PGQVTR_cjs.paletteBlocks; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "Transaction", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return chunkVFSVN5IQ_cjs.Transaction; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "addMarkStep", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return chunkVFSVN5IQ_cjs.addMarkStep; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "applyTransaction", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunkVFSVN5IQ_cjs.applyTransaction; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "blockInputRules", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunkVFSVN5IQ_cjs.blockInputRules; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "blockRangeSelection", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunkVFSVN5IQ_cjs.blockRangeSelection; }
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, "coreExtensions", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return chunkVFSVN5IQ_cjs.coreExtensions; }
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "countDoc", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return chunkVFSVN5IQ_cjs.countDoc; }
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "countText", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () { return chunkVFSVN5IQ_cjs.countText; }
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, "createEditor", {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () { return chunkVFSVN5IQ_cjs.createEditor; }
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(exports, "createPluginKey", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return chunkVFSVN5IQ_cjs.createPluginKey; }
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(exports, "createState", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function () { return chunkVFSVN5IQ_cjs.createState; }
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(exports, "defineExtension", {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
get: function () { return chunkVFSVN5IQ_cjs.defineExtension; }
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "fromHTML", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function () { return chunkVFSVN5IQ_cjs.fromHTML; }
|
|
180
|
+
});
|
|
181
|
+
Object.defineProperty(exports, "getPluginState", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function () { return chunkVFSVN5IQ_cjs.getPluginState; }
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, "insertBlockAfter", {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertBlockAfter; }
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "insertBlocksStep", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertBlocksStep; }
|
|
192
|
+
});
|
|
193
|
+
Object.defineProperty(exports, "insertText", {
|
|
194
|
+
enumerable: true,
|
|
195
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertText; }
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(exports, "insertTextWithRules", {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertTextWithRules; }
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "joinBlocksStep", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function () { return chunkVFSVN5IQ_cjs.joinBlocksStep; }
|
|
204
|
+
});
|
|
205
|
+
Object.defineProperty(exports, "keyName", {
|
|
206
|
+
enumerable: true,
|
|
207
|
+
get: function () { return chunkVFSVN5IQ_cjs.keyName; }
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(exports, "markInputRules", {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
get: function () { return chunkVFSVN5IQ_cjs.markInputRules; }
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(exports, "moveBlocksStep", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
get: function () { return chunkVFSVN5IQ_cjs.moveBlocksStep; }
|
|
216
|
+
});
|
|
217
|
+
Object.defineProperty(exports, "nodeSelection", {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function () { return chunkVFSVN5IQ_cjs.nodeSelection; }
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(exports, "normalizeKey", {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
get: function () { return chunkVFSVN5IQ_cjs.normalizeKey; }
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(exports, "redo", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () { return chunkVFSVN5IQ_cjs.redo; }
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(exports, "removeBlocksStep", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function () { return chunkVFSVN5IQ_cjs.removeBlocksStep; }
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(exports, "removeMarkStep", {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
get: function () { return chunkVFSVN5IQ_cjs.removeMarkStep; }
|
|
236
|
+
});
|
|
237
|
+
Object.defineProperty(exports, "replaceBlockStep", {
|
|
238
|
+
enumerable: true,
|
|
239
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceBlockStep; }
|
|
240
|
+
});
|
|
241
|
+
Object.defineProperty(exports, "replaceDocStep", {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceDocStep; }
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(exports, "replaceInlineStep", {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceInlineStep; }
|
|
248
|
+
});
|
|
249
|
+
Object.defineProperty(exports, "setAttrsStep", {
|
|
250
|
+
enumerable: true,
|
|
251
|
+
get: function () { return chunkVFSVN5IQ_cjs.setAttrsStep; }
|
|
252
|
+
});
|
|
253
|
+
Object.defineProperty(exports, "setBlockType", {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () { return chunkVFSVN5IQ_cjs.setBlockType; }
|
|
256
|
+
});
|
|
257
|
+
Object.defineProperty(exports, "setIndentStep", {
|
|
258
|
+
enumerable: true,
|
|
259
|
+
get: function () { return chunkVFSVN5IQ_cjs.setIndentStep; }
|
|
260
|
+
});
|
|
261
|
+
Object.defineProperty(exports, "splitBlockStep", {
|
|
262
|
+
enumerable: true,
|
|
263
|
+
get: function () { return chunkVFSVN5IQ_cjs.splitBlockStep; }
|
|
264
|
+
});
|
|
265
|
+
Object.defineProperty(exports, "stepFromJSON", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
get: function () { return chunkVFSVN5IQ_cjs.stepFromJSON; }
|
|
268
|
+
});
|
|
269
|
+
Object.defineProperty(exports, "textSelection", {
|
|
270
|
+
enumerable: true,
|
|
271
|
+
get: function () { return chunkVFSVN5IQ_cjs.textSelection; }
|
|
272
|
+
});
|
|
273
|
+
Object.defineProperty(exports, "toHTML", {
|
|
274
|
+
enumerable: true,
|
|
275
|
+
get: function () { return chunkVFSVN5IQ_cjs.toHTML; }
|
|
276
|
+
});
|
|
277
|
+
Object.defineProperty(exports, "toMarkdown", {
|
|
278
|
+
enumerable: true,
|
|
279
|
+
get: function () { return chunkVFSVN5IQ_cjs.toMarkdown; }
|
|
280
|
+
});
|
|
281
|
+
Object.defineProperty(exports, "toPlainText", {
|
|
282
|
+
enumerable: true,
|
|
283
|
+
get: function () { return chunkVFSVN5IQ_cjs.toPlainText; }
|
|
284
|
+
});
|
|
285
|
+
Object.defineProperty(exports, "toggleMark", {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function () { return chunkVFSVN5IQ_cjs.toggleMark; }
|
|
288
|
+
});
|
|
289
|
+
Object.defineProperty(exports, "typographyRules", {
|
|
290
|
+
enumerable: true,
|
|
291
|
+
get: function () { return chunkVFSVN5IQ_cjs.typographyRules; }
|
|
292
|
+
});
|
|
293
|
+
Object.defineProperty(exports, "undo", {
|
|
294
|
+
enumerable: true,
|
|
295
|
+
get: function () { return chunkVFSVN5IQ_cjs.undo; }
|
|
296
|
+
});
|
|
297
|
+
Object.defineProperty(exports, "diffBlocks", {
|
|
298
|
+
enumerable: true,
|
|
299
|
+
get: function () { return chunk7SVKLWDT_cjs.diffBlocks; }
|
|
300
|
+
});
|
|
301
|
+
Object.defineProperty(exports, "diffInline", {
|
|
302
|
+
enumerable: true,
|
|
303
|
+
get: function () { return chunk7SVKLWDT_cjs.diffInline; }
|
|
304
|
+
});
|
|
305
|
+
Object.defineProperty(exports, "PALETTE", {
|
|
306
|
+
enumerable: true,
|
|
307
|
+
get: function () { return chunkAIS37SL2_cjs.PALETTE; }
|
|
308
|
+
});
|
|
309
|
+
Object.defineProperty(exports, "atom", {
|
|
310
|
+
enumerable: true,
|
|
311
|
+
get: function () { return chunkAIS37SL2_cjs.atom; }
|
|
312
|
+
});
|
|
313
|
+
Object.defineProperty(exports, "coreBlockSpecs", {
|
|
314
|
+
enumerable: true,
|
|
315
|
+
get: function () { return chunkAIS37SL2_cjs.coreBlockSpecs; }
|
|
316
|
+
});
|
|
317
|
+
Object.defineProperty(exports, "createBlockCodec", {
|
|
318
|
+
enumerable: true,
|
|
319
|
+
get: function () { return chunkAIS37SL2_cjs.createBlockCodec; }
|
|
320
|
+
});
|
|
321
|
+
Object.defineProperty(exports, "createSchema", {
|
|
322
|
+
enumerable: true,
|
|
323
|
+
get: function () { return chunkAIS37SL2_cjs.createSchema; }
|
|
324
|
+
});
|
|
325
|
+
Object.defineProperty(exports, "fromMarkdown", {
|
|
326
|
+
enumerable: true,
|
|
327
|
+
get: function () { return chunkAIS37SL2_cjs.fromMarkdown; }
|
|
328
|
+
});
|
|
329
|
+
Object.defineProperty(exports, "normalizeInline", {
|
|
330
|
+
enumerable: true,
|
|
331
|
+
get: function () { return chunkAIS37SL2_cjs.normalizeInline; }
|
|
332
|
+
});
|
|
333
|
+
Object.defineProperty(exports, "parseInline", {
|
|
334
|
+
enumerable: true,
|
|
335
|
+
get: function () { return chunkAIS37SL2_cjs.parseInline; }
|
|
336
|
+
});
|
|
337
|
+
Object.defineProperty(exports, "sanitizeHref", {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
get: function () { return chunkAIS37SL2_cjs.sanitizeHref; }
|
|
340
|
+
});
|
|
341
|
+
Object.defineProperty(exports, "serializeInline", {
|
|
342
|
+
enumerable: true,
|
|
343
|
+
get: function () { return chunkAIS37SL2_cjs.serializeInline; }
|
|
344
|
+
});
|
|
345
|
+
Object.defineProperty(exports, "text", {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () { return chunkAIS37SL2_cjs.text; }
|
|
348
|
+
});
|
|
349
|
+
//# sourceMappingURL=index.cjs.map
|
|
184
350
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":";","file":"index.cjs"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
|
-
import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-
|
|
4
|
-
export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-
|
|
3
|
+
import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-CXegaw5k.cjs';
|
|
4
|
+
export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-CXegaw5k.cjs';
|
|
5
5
|
import { Q as QuoinBlock, P as Pos } from './types-DULc8wwg.cjs';
|
|
6
6
|
export { b as AtomNode, c as AtomSpec, A as Attrs, B as BlockAttrs, d as BlockContent, e as BlockFlow, f as BlockRangeSelection, g as BlockSpec, C as CodecContext, h as EngineBlock, E as EngineDoc, I as Inline, i as InlineCodec, j as InlineNode, M as Mark, k as MarkSpec, l as MarkdownExportContext, N as NodeSelection, m as ParseInlineOptions, S as Schema, a as Selection, n as SerializeInlineOptions, T as TextNode, o as TextSelection } from './types-DULc8wwg.cjs';
|
|
7
7
|
import { E as Extension, a as Editor, c as EditorState, b as Command } from './types-CJ7Gq3GX.cjs';
|
|
@@ -126,6 +126,8 @@ type QuoinLabels = {
|
|
|
126
126
|
selectedContent: string;
|
|
127
127
|
editBlock: (label: string) => string;
|
|
128
128
|
unsupportedBlock: string;
|
|
129
|
+
/** Optional so a translation written for 1.0 still compiles; English where it is missing. */
|
|
130
|
+
blockError?: string;
|
|
129
131
|
uploading: string;
|
|
130
132
|
uploaded: (name: string) => string;
|
|
131
133
|
/** What an upload field shows when the host's upload fails without a message of its own. */
|
|
@@ -151,6 +153,15 @@ type QuoinLabels = {
|
|
|
151
153
|
altTextHint: string;
|
|
152
154
|
save: string;
|
|
153
155
|
imageNoAlt: string;
|
|
156
|
+
/**
|
|
157
|
+
* The checkbox of the alt text popover that marks an image as deliberately without a description, the visible text of
|
|
158
|
+
* the badge an editable canvas draws over an image that has neither, and the badge's name, which starts with that
|
|
159
|
+
* visible text and then says what it does. A translation that sets `noAltBadge` should set `addAltText` too; with `noAltBadge` alone the
|
|
160
|
+
* badge is named by its visible text. Optional like `blockError`.
|
|
161
|
+
*/
|
|
162
|
+
decorativeImage?: string;
|
|
163
|
+
noAltBadge?: string;
|
|
164
|
+
addAltText?: string;
|
|
154
165
|
/** An empty file block: its upload button and what can be dropped or pasted on it. */
|
|
155
166
|
uploadFile: string;
|
|
156
167
|
dropFile: string;
|
|
@@ -270,7 +281,8 @@ type CodeBlockData = {
|
|
|
270
281
|
/**
|
|
271
282
|
* `IMAGE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL, unless `url`
|
|
272
283
|
* links a picture instead. `caption` is inline markdown, `width` and `height` the measured size of the upload, and
|
|
273
|
-
* `widthPercent` the share of the line the picture is drawn at.
|
|
284
|
+
* `widthPercent` the share of the line the picture is drawn at. `decorative` is `true`, and only then present, for a
|
|
285
|
+
* picture that is deliberately given no description.
|
|
274
286
|
*/
|
|
275
287
|
type ImageBlockData = {
|
|
276
288
|
storageKey: string;
|
|
@@ -281,6 +293,7 @@ type ImageBlockData = {
|
|
|
281
293
|
url?: string;
|
|
282
294
|
align?: 'left' | 'center' | 'right';
|
|
283
295
|
widthPercent?: number;
|
|
296
|
+
decorative?: boolean;
|
|
284
297
|
};
|
|
285
298
|
/**
|
|
286
299
|
* `FILE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL; `filename` is the
|
|
@@ -356,7 +369,7 @@ declare function QuoinProvider({ value, children, }: {
|
|
|
356
369
|
/** Reads the canvas configuration. Throws outside a QuoinProvider rather than returning a silent default. */
|
|
357
370
|
declare function useQuoin(): QuoinConfig;
|
|
358
371
|
|
|
359
|
-
declare const englishLabels: QuoinLabels
|
|
372
|
+
declare const englishLabels: Required<QuoinLabels>;
|
|
360
373
|
|
|
361
374
|
/** The English labels with the host's overrides on top. A key the host leaves out, or passes as undefined, stays
|
|
362
375
|
* English. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
|
-
import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-
|
|
4
|
-
export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-
|
|
3
|
+
import { A as AnyBlockDefinition, U as UploadFn, C as CodeHighlighter, a as UploadResult } from './registry-CXegaw5k.js';
|
|
4
|
+
export { B as BlockDefinition, b as BlockEditorProps, c as BlockPreviewProps, e as CodeToken, f as blockByType, d as defineBlock, p as paletteBlocks } from './registry-CXegaw5k.js';
|
|
5
5
|
import { Q as QuoinBlock, P as Pos } from './types-DULc8wwg.js';
|
|
6
6
|
export { b as AtomNode, c as AtomSpec, A as Attrs, B as BlockAttrs, d as BlockContent, e as BlockFlow, f as BlockRangeSelection, g as BlockSpec, C as CodecContext, h as EngineBlock, E as EngineDoc, I as Inline, i as InlineCodec, j as InlineNode, M as Mark, k as MarkSpec, l as MarkdownExportContext, N as NodeSelection, m as ParseInlineOptions, S as Schema, a as Selection, n as SerializeInlineOptions, T as TextNode, o as TextSelection } from './types-DULc8wwg.js';
|
|
7
7
|
import { E as Extension, a as Editor, c as EditorState, b as Command } from './types-C6_QkXzy.js';
|
|
@@ -126,6 +126,8 @@ type QuoinLabels = {
|
|
|
126
126
|
selectedContent: string;
|
|
127
127
|
editBlock: (label: string) => string;
|
|
128
128
|
unsupportedBlock: string;
|
|
129
|
+
/** Optional so a translation written for 1.0 still compiles; English where it is missing. */
|
|
130
|
+
blockError?: string;
|
|
129
131
|
uploading: string;
|
|
130
132
|
uploaded: (name: string) => string;
|
|
131
133
|
/** What an upload field shows when the host's upload fails without a message of its own. */
|
|
@@ -151,6 +153,15 @@ type QuoinLabels = {
|
|
|
151
153
|
altTextHint: string;
|
|
152
154
|
save: string;
|
|
153
155
|
imageNoAlt: string;
|
|
156
|
+
/**
|
|
157
|
+
* The checkbox of the alt text popover that marks an image as deliberately without a description, the visible text of
|
|
158
|
+
* the badge an editable canvas draws over an image that has neither, and the badge's name, which starts with that
|
|
159
|
+
* visible text and then says what it does. A translation that sets `noAltBadge` should set `addAltText` too; with `noAltBadge` alone the
|
|
160
|
+
* badge is named by its visible text. Optional like `blockError`.
|
|
161
|
+
*/
|
|
162
|
+
decorativeImage?: string;
|
|
163
|
+
noAltBadge?: string;
|
|
164
|
+
addAltText?: string;
|
|
154
165
|
/** An empty file block: its upload button and what can be dropped or pasted on it. */
|
|
155
166
|
uploadFile: string;
|
|
156
167
|
dropFile: string;
|
|
@@ -270,7 +281,8 @@ type CodeBlockData = {
|
|
|
270
281
|
/**
|
|
271
282
|
* `IMAGE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL, unless `url`
|
|
272
283
|
* links a picture instead. `caption` is inline markdown, `width` and `height` the measured size of the upload, and
|
|
273
|
-
* `widthPercent` the share of the line the picture is drawn at.
|
|
284
|
+
* `widthPercent` the share of the line the picture is drawn at. `decorative` is `true`, and only then present, for a
|
|
285
|
+
* picture that is deliberately given no description.
|
|
274
286
|
*/
|
|
275
287
|
type ImageBlockData = {
|
|
276
288
|
storageKey: string;
|
|
@@ -281,6 +293,7 @@ type ImageBlockData = {
|
|
|
281
293
|
url?: string;
|
|
282
294
|
align?: 'left' | 'center' | 'right';
|
|
283
295
|
widthPercent?: number;
|
|
296
|
+
decorative?: boolean;
|
|
284
297
|
};
|
|
285
298
|
/**
|
|
286
299
|
* `FILE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL; `filename` is the
|
|
@@ -356,7 +369,7 @@ declare function QuoinProvider({ value, children, }: {
|
|
|
356
369
|
/** Reads the canvas configuration. Throws outside a QuoinProvider rather than returning a silent default. */
|
|
357
370
|
declare function useQuoin(): QuoinConfig;
|
|
358
371
|
|
|
359
|
-
declare const englishLabels: QuoinLabels
|
|
372
|
+
declare const englishLabels: Required<QuoinLabels>;
|
|
360
373
|
|
|
361
374
|
/** The English labels with the host's overrides on top. A key the host leaves out, or passes as undefined, stays
|
|
362
375
|
* English. */
|