quoin-editor 1.0.2 → 1.1.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.
- package/CHANGELOG.md +18 -0
- package/dist/ai.cjs +168 -249
- package/dist/ai.cjs.map +1 -1
- package/dist/ai.js +37 -121
- package/dist/ai.js.map +1 -1
- package/dist/catalogue.cjs +28 -43
- package/dist/catalogue.cjs.map +1 -1
- package/dist/catalogue.js +20 -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-6V6GGBDK.cjs → chunk-7SVKLWDT.cjs} +24 -31
- package/dist/chunk-7SVKLWDT.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-P6KYXFZC.cjs → chunk-ACSEYJJF.cjs} +426 -534
- package/dist/chunk-ACSEYJJF.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-X4HDKFW5.cjs → chunk-DTQFYHDJ.cjs} +56 -105
- package/dist/chunk-DTQFYHDJ.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-ADSJ42DO.js → chunk-HWEK7EX5.js} +17 -69
- package/dist/chunk-HWEK7EX5.js.map +1 -0
- package/dist/{chunk-623AOJM2.js → chunk-ITXCE6KL.js} +7 -25
- package/dist/chunk-ITXCE6KL.js.map +1 -0
- package/dist/{chunk-AUOEM3SF.cjs → chunk-IXVGHH7F.cjs} +102 -155
- package/dist/chunk-IXVGHH7F.cjs.map +1 -0
- package/dist/{chunk-NEZJ7ZP5.js → chunk-JZJIWRF3.js} +4 -8
- package/dist/chunk-JZJIWRF3.js.map +1 -0
- package/dist/{chunk-C23RQVRK.js → chunk-KSF2HILJ.js} +66 -216
- package/dist/chunk-KSF2HILJ.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-5MAYUGTE.cjs → chunk-LY2D45F2.cjs} +233 -363
- package/dist/chunk-LY2D45F2.cjs.map +1 -0
- package/dist/{chunk-VCLL5C7J.js → chunk-MGMA5PEL.js} +14 -57
- package/dist/chunk-MGMA5PEL.js.map +1 -0
- package/dist/chunk-MQUCCSWG.js +2 -3
- package/dist/chunk-MQUCCSWG.js.map +1 -1
- package/dist/chunk-NO3KTZDY.cjs +33 -0
- package/dist/chunk-NO3KTZDY.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-JHQUHFLX.js → chunk-PJCHSHM3.js} +38 -120
- package/dist/chunk-PJCHSHM3.js.map +1 -0
- package/dist/{chunk-EPARJI4V.js → chunk-QC35D2AU.js} +107 -262
- package/dist/chunk-QC35D2AU.js.map +1 -0
- package/dist/{chunk-CW3AFJBR.cjs → chunk-QEMGOL5L.cjs} +1302 -1773
- package/dist/chunk-QEMGOL5L.cjs.map +1 -0
- package/dist/chunk-QWS7KH3K.cjs +483 -0
- package/dist/chunk-QWS7KH3K.cjs.map +1 -0
- package/dist/{chunk-IQBMAE3F.js → chunk-RHQPAW4W.js} +34 -92
- package/dist/chunk-RHQPAW4W.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-SAEQMDAU.js} +60 -167
- package/dist/chunk-SAEQMDAU.js.map +1 -0
- package/dist/chunk-SKZC4K5S.cjs +612 -0
- package/dist/chunk-SKZC4K5S.cjs.map +1 -0
- package/dist/{chunk-N4FGA3H4.js → chunk-TBCHYHNU.js} +38 -105
- package/dist/chunk-TBCHYHNU.js.map +1 -0
- package/dist/{chunk-OSHZQR3W.js → chunk-TNN6Z52D.js} +13 -45
- package/dist/chunk-TNN6Z52D.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-ZKVOS57Q.cjs → chunk-VFSVN5IQ.cjs} +495 -551
- package/dist/chunk-VFSVN5IQ.cjs.map +1 -0
- package/dist/{chunk-FDRUAL3Z.cjs → chunk-WDO6DBYU.cjs} +90 -153
- package/dist/chunk-WDO6DBYU.cjs.map +1 -0
- package/dist/{chunk-WEYDDIBQ.cjs → chunk-WHV5ZSIO.cjs} +36 -64
- package/dist/chunk-WHV5ZSIO.cjs.map +1 -0
- package/dist/{chunk-T43RZTUT.js → chunk-XJDPQFPU.js} +693 -1247
- package/dist/chunk-XJDPQFPU.js.map +1 -0
- package/dist/{chunk-BQANU5BH.cjs → chunk-ZTLYHRZT.cjs} +34 -44
- package/dist/chunk-ZTLYHRZT.cjs.map +1 -0
- package/dist/chunk-ZWB7SZVI.cjs +200 -0
- package/dist/chunk-ZWB7SZVI.cjs.map +1 -0
- package/dist/comments.cjs +209 -290
- package/dist/comments.cjs.map +1 -1
- package/dist/comments.js +81 -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 +18 -12
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.js +9 -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 +25 -17
- package/dist/emoji.cjs.map +1 -1
- package/dist/emoji.js +8 -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 +29 -19
- package/dist/find.cjs.map +1 -1
- package/dist/find.js +8 -19
- package/dist/find.js.map +1 -1
- package/dist/headless.cjs +290 -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 +5 -151
- package/dist/headless.js.map +1 -1
- package/dist/index.cjs +348 -183
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -4
- package/dist/index.d.ts +14 -4
- package/dist/index.js +7 -183
- package/dist/index.js.map +1 -1
- package/dist/math.cjs +19 -13
- package/dist/math.cjs.map +1 -1
- package/dist/math.js +10 -17
- package/dist/math.js.map +1 -1
- package/dist/mention.cjs +19 -13
- package/dist/mention.cjs.map +1 -1
- package/dist/mention.js +10 -17
- package/dist/mention.js.map +1 -1
- package/dist/presence.cjs +98 -132
- package/dist/presence.cjs.map +1 -1
- package/dist/presence.js +21 -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 +26 -18
- package/dist/stats.cjs.map +1 -1
- package/dist/stats.js +9 -18
- package/dist/stats.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/table.cjs +89 -49
- package/dist/table.cjs.map +1 -1
- package/dist/table.js +8 -49
- package/dist/table.js.map +1 -1
- package/dist/toc.cjs +25 -17
- package/dist/toc.cjs.map +1 -1
- package/dist/toc.js +8 -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 +1 -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,349 @@
|
|
|
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';'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkQEMGOL5L_cjs = require('./chunk-QEMGOL5L.cjs');
|
|
4
|
+
var chunkACSEYJJF_cjs = require('./chunk-ACSEYJJF.cjs');
|
|
5
|
+
var chunkA6PGQVTR_cjs = require('./chunk-A6PGQVTR.cjs');
|
|
6
|
+
var chunkVFSVN5IQ_cjs = require('./chunk-VFSVN5IQ.cjs');
|
|
7
|
+
var chunk7SVKLWDT_cjs = require('./chunk-7SVKLWDT.cjs');
|
|
8
|
+
var chunkAIS37SL2_cjs = require('./chunk-AIS37SL2.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(exports, "BlockCanvas", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkQEMGOL5L_cjs.BlockCanvas; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "FilePickerButton", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkQEMGOL5L_cjs.FilePickerButton; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "QuoinProvider", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkQEMGOL5L_cjs.QuoinProvider; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "UploadField", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkQEMGOL5L_cjs.UploadField; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "coreBlocks", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkQEMGOL5L_cjs.coreBlocks; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "englishLabels", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkQEMGOL5L_cjs.englishLabels; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "formatShortcut", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkQEMGOL5L_cjs.formatShortcut; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "resolveLabels", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkQEMGOL5L_cjs.resolveLabels; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "useAutosave", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkQEMGOL5L_cjs.useAutosave; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "useLabels", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkQEMGOL5L_cjs.useLabels; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "useQuoin", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkQEMGOL5L_cjs.useQuoin; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "BlockShell", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkACSEYJJF_cjs.BlockShell; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "EditableRegion", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkACSEYJJF_cjs.EditableRegion; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "EditorView", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkACSEYJJF_cjs.EditorView; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "SelectionSink", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkACSEYJJF_cjs.SelectionSink; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "ViewController", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkACSEYJJF_cjs.ViewController; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "VoidBlockFallback", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkACSEYJJF_cjs.VoidBlockFallback; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "caretFromPoint", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkACSEYJJF_cjs.caretFromPoint; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "defaultRenderers", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkACSEYJJF_cjs.defaultRenderers; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "domMapOf", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkACSEYJJF_cjs.domMapOf; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "hostKey", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkACSEYJJF_cjs.hostKey; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "isCrossSelection", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkACSEYJJF_cjs.isCrossSelection; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "renderInline", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkACSEYJJF_cjs.renderInline; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "useEditorState", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkACSEYJJF_cjs.useEditorState; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "useQuoinEditor", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkACSEYJJF_cjs.useQuoinEditor; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "useViewController", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkACSEYJJF_cjs.useViewController; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "blockByType", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkA6PGQVTR_cjs.blockByType; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "defineBlock", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkA6PGQVTR_cjs.defineBlock; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "paletteBlocks", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkA6PGQVTR_cjs.paletteBlocks; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "Transaction", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkVFSVN5IQ_cjs.Transaction; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "addMarkStep", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkVFSVN5IQ_cjs.addMarkStep; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "applyTransaction", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkVFSVN5IQ_cjs.applyTransaction; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "blockInputRules", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkVFSVN5IQ_cjs.blockInputRules; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "blockRangeSelection", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunkVFSVN5IQ_cjs.blockRangeSelection; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "coreExtensions", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunkVFSVN5IQ_cjs.coreExtensions; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "countDoc", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkVFSVN5IQ_cjs.countDoc; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "countText", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkVFSVN5IQ_cjs.countText; }
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "createEditor", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return chunkVFSVN5IQ_cjs.createEditor; }
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "createPluginKey", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunkVFSVN5IQ_cjs.createPluginKey; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "createState", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return chunkVFSVN5IQ_cjs.createState; }
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "defineExtension", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunkVFSVN5IQ_cjs.defineExtension; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "fromHTML", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunkVFSVN5IQ_cjs.fromHTML; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "getPluginState", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkVFSVN5IQ_cjs.getPluginState; }
|
|
183
|
+
});
|
|
184
|
+
Object.defineProperty(exports, "insertBlockAfter", {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertBlockAfter; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "insertBlocksStep", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertBlocksStep; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "insertText", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertText; }
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "insertTextWithRules", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return chunkVFSVN5IQ_cjs.insertTextWithRules; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "joinBlocksStep", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunkVFSVN5IQ_cjs.joinBlocksStep; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "keyName", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunkVFSVN5IQ_cjs.keyName; }
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "markInputRules", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return chunkVFSVN5IQ_cjs.markInputRules; }
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "moveBlocksStep", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return chunkVFSVN5IQ_cjs.moveBlocksStep; }
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "nodeSelection", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () { return chunkVFSVN5IQ_cjs.nodeSelection; }
|
|
219
|
+
});
|
|
220
|
+
Object.defineProperty(exports, "normalizeKey", {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () { return chunkVFSVN5IQ_cjs.normalizeKey; }
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(exports, "redo", {
|
|
225
|
+
enumerable: true,
|
|
226
|
+
get: function () { return chunkVFSVN5IQ_cjs.redo; }
|
|
227
|
+
});
|
|
228
|
+
Object.defineProperty(exports, "removeBlocksStep", {
|
|
229
|
+
enumerable: true,
|
|
230
|
+
get: function () { return chunkVFSVN5IQ_cjs.removeBlocksStep; }
|
|
231
|
+
});
|
|
232
|
+
Object.defineProperty(exports, "removeMarkStep", {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function () { return chunkVFSVN5IQ_cjs.removeMarkStep; }
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(exports, "replaceBlockStep", {
|
|
237
|
+
enumerable: true,
|
|
238
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceBlockStep; }
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "replaceDocStep", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceDocStep; }
|
|
243
|
+
});
|
|
244
|
+
Object.defineProperty(exports, "replaceInlineStep", {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function () { return chunkVFSVN5IQ_cjs.replaceInlineStep; }
|
|
247
|
+
});
|
|
248
|
+
Object.defineProperty(exports, "setAttrsStep", {
|
|
249
|
+
enumerable: true,
|
|
250
|
+
get: function () { return chunkVFSVN5IQ_cjs.setAttrsStep; }
|
|
251
|
+
});
|
|
252
|
+
Object.defineProperty(exports, "setBlockType", {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function () { return chunkVFSVN5IQ_cjs.setBlockType; }
|
|
255
|
+
});
|
|
256
|
+
Object.defineProperty(exports, "setIndentStep", {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function () { return chunkVFSVN5IQ_cjs.setIndentStep; }
|
|
259
|
+
});
|
|
260
|
+
Object.defineProperty(exports, "splitBlockStep", {
|
|
261
|
+
enumerable: true,
|
|
262
|
+
get: function () { return chunkVFSVN5IQ_cjs.splitBlockStep; }
|
|
263
|
+
});
|
|
264
|
+
Object.defineProperty(exports, "stepFromJSON", {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function () { return chunkVFSVN5IQ_cjs.stepFromJSON; }
|
|
267
|
+
});
|
|
268
|
+
Object.defineProperty(exports, "textSelection", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function () { return chunkVFSVN5IQ_cjs.textSelection; }
|
|
271
|
+
});
|
|
272
|
+
Object.defineProperty(exports, "toHTML", {
|
|
273
|
+
enumerable: true,
|
|
274
|
+
get: function () { return chunkVFSVN5IQ_cjs.toHTML; }
|
|
275
|
+
});
|
|
276
|
+
Object.defineProperty(exports, "toMarkdown", {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
get: function () { return chunkVFSVN5IQ_cjs.toMarkdown; }
|
|
279
|
+
});
|
|
280
|
+
Object.defineProperty(exports, "toPlainText", {
|
|
281
|
+
enumerable: true,
|
|
282
|
+
get: function () { return chunkVFSVN5IQ_cjs.toPlainText; }
|
|
283
|
+
});
|
|
284
|
+
Object.defineProperty(exports, "toggleMark", {
|
|
285
|
+
enumerable: true,
|
|
286
|
+
get: function () { return chunkVFSVN5IQ_cjs.toggleMark; }
|
|
287
|
+
});
|
|
288
|
+
Object.defineProperty(exports, "typographyRules", {
|
|
289
|
+
enumerable: true,
|
|
290
|
+
get: function () { return chunkVFSVN5IQ_cjs.typographyRules; }
|
|
291
|
+
});
|
|
292
|
+
Object.defineProperty(exports, "undo", {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
get: function () { return chunkVFSVN5IQ_cjs.undo; }
|
|
295
|
+
});
|
|
296
|
+
Object.defineProperty(exports, "diffBlocks", {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: function () { return chunk7SVKLWDT_cjs.diffBlocks; }
|
|
299
|
+
});
|
|
300
|
+
Object.defineProperty(exports, "diffInline", {
|
|
301
|
+
enumerable: true,
|
|
302
|
+
get: function () { return chunk7SVKLWDT_cjs.diffInline; }
|
|
303
|
+
});
|
|
304
|
+
Object.defineProperty(exports, "PALETTE", {
|
|
305
|
+
enumerable: true,
|
|
306
|
+
get: function () { return chunkAIS37SL2_cjs.PALETTE; }
|
|
307
|
+
});
|
|
308
|
+
Object.defineProperty(exports, "atom", {
|
|
309
|
+
enumerable: true,
|
|
310
|
+
get: function () { return chunkAIS37SL2_cjs.atom; }
|
|
311
|
+
});
|
|
312
|
+
Object.defineProperty(exports, "coreBlockSpecs", {
|
|
313
|
+
enumerable: true,
|
|
314
|
+
get: function () { return chunkAIS37SL2_cjs.coreBlockSpecs; }
|
|
315
|
+
});
|
|
316
|
+
Object.defineProperty(exports, "createBlockCodec", {
|
|
317
|
+
enumerable: true,
|
|
318
|
+
get: function () { return chunkAIS37SL2_cjs.createBlockCodec; }
|
|
319
|
+
});
|
|
320
|
+
Object.defineProperty(exports, "createSchema", {
|
|
321
|
+
enumerable: true,
|
|
322
|
+
get: function () { return chunkAIS37SL2_cjs.createSchema; }
|
|
323
|
+
});
|
|
324
|
+
Object.defineProperty(exports, "fromMarkdown", {
|
|
325
|
+
enumerable: true,
|
|
326
|
+
get: function () { return chunkAIS37SL2_cjs.fromMarkdown; }
|
|
327
|
+
});
|
|
328
|
+
Object.defineProperty(exports, "normalizeInline", {
|
|
329
|
+
enumerable: true,
|
|
330
|
+
get: function () { return chunkAIS37SL2_cjs.normalizeInline; }
|
|
331
|
+
});
|
|
332
|
+
Object.defineProperty(exports, "parseInline", {
|
|
333
|
+
enumerable: true,
|
|
334
|
+
get: function () { return chunkAIS37SL2_cjs.parseInline; }
|
|
335
|
+
});
|
|
336
|
+
Object.defineProperty(exports, "sanitizeHref", {
|
|
337
|
+
enumerable: true,
|
|
338
|
+
get: function () { return chunkAIS37SL2_cjs.sanitizeHref; }
|
|
339
|
+
});
|
|
340
|
+
Object.defineProperty(exports, "serializeInline", {
|
|
341
|
+
enumerable: true,
|
|
342
|
+
get: function () { return chunkAIS37SL2_cjs.serializeInline; }
|
|
343
|
+
});
|
|
344
|
+
Object.defineProperty(exports, "text", {
|
|
345
|
+
enumerable: true,
|
|
346
|
+
get: function () { return chunkAIS37SL2_cjs.text; }
|
|
347
|
+
});
|
|
348
|
+
//# sourceMappingURL=index.cjs.map
|
|
184
349
|
//# 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,12 @@ 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, and the badge an
|
|
158
|
+
* editable canvas draws over an image that has neither. Optional like `blockError`.
|
|
159
|
+
*/
|
|
160
|
+
decorativeImage?: string;
|
|
161
|
+
noAltBadge?: string;
|
|
154
162
|
/** An empty file block: its upload button and what can be dropped or pasted on it. */
|
|
155
163
|
uploadFile: string;
|
|
156
164
|
dropFile: string;
|
|
@@ -270,7 +278,8 @@ type CodeBlockData = {
|
|
|
270
278
|
/**
|
|
271
279
|
* `IMAGE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL, unless `url`
|
|
272
280
|
* 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.
|
|
281
|
+
* `widthPercent` the share of the line the picture is drawn at. `decorative` is `true`, and only then present, for a
|
|
282
|
+
* picture that is deliberately given no description.
|
|
274
283
|
*/
|
|
275
284
|
type ImageBlockData = {
|
|
276
285
|
storageKey: string;
|
|
@@ -281,6 +290,7 @@ type ImageBlockData = {
|
|
|
281
290
|
url?: string;
|
|
282
291
|
align?: 'left' | 'center' | 'right';
|
|
283
292
|
widthPercent?: number;
|
|
293
|
+
decorative?: boolean;
|
|
284
294
|
};
|
|
285
295
|
/**
|
|
286
296
|
* `FILE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL; `filename` is the
|
|
@@ -356,7 +366,7 @@ declare function QuoinProvider({ value, children, }: {
|
|
|
356
366
|
/** Reads the canvas configuration. Throws outside a QuoinProvider rather than returning a silent default. */
|
|
357
367
|
declare function useQuoin(): QuoinConfig;
|
|
358
368
|
|
|
359
|
-
declare const englishLabels: QuoinLabels
|
|
369
|
+
declare const englishLabels: Required<QuoinLabels>;
|
|
360
370
|
|
|
361
371
|
/** The English labels with the host's overrides on top. A key the host leaves out, or passes as undefined, stays
|
|
362
372
|
* 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,12 @@ 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, and the badge an
|
|
158
|
+
* editable canvas draws over an image that has neither. Optional like `blockError`.
|
|
159
|
+
*/
|
|
160
|
+
decorativeImage?: string;
|
|
161
|
+
noAltBadge?: string;
|
|
154
162
|
/** An empty file block: its upload button and what can be dropped or pasted on it. */
|
|
155
163
|
uploadFile: string;
|
|
156
164
|
dropFile: string;
|
|
@@ -270,7 +278,8 @@ type CodeBlockData = {
|
|
|
270
278
|
/**
|
|
271
279
|
* `IMAGE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL, unless `url`
|
|
272
280
|
* 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.
|
|
281
|
+
* `widthPercent` the share of the line the picture is drawn at. `decorative` is `true`, and only then present, for a
|
|
282
|
+
* picture that is deliberately given no description.
|
|
274
283
|
*/
|
|
275
284
|
type ImageBlockData = {
|
|
276
285
|
storageKey: string;
|
|
@@ -281,6 +290,7 @@ type ImageBlockData = {
|
|
|
281
290
|
url?: string;
|
|
282
291
|
align?: 'left' | 'center' | 'right';
|
|
283
292
|
widthPercent?: number;
|
|
293
|
+
decorative?: boolean;
|
|
284
294
|
};
|
|
285
295
|
/**
|
|
286
296
|
* `FILE`. `storageKey` names the uploaded file, which the host's `resolveAssetUrl` turns into a URL; `filename` is the
|
|
@@ -356,7 +366,7 @@ declare function QuoinProvider({ value, children, }: {
|
|
|
356
366
|
/** Reads the canvas configuration. Throws outside a QuoinProvider rather than returning a silent default. */
|
|
357
367
|
declare function useQuoin(): QuoinConfig;
|
|
358
368
|
|
|
359
|
-
declare const englishLabels: QuoinLabels
|
|
369
|
+
declare const englishLabels: Required<QuoinLabels>;
|
|
360
370
|
|
|
361
371
|
/** The English labels with the host's overrides on top. A key the host leaves out, or passes as undefined, stays
|
|
362
372
|
* English. */
|