quoin-editor 1.1.2 → 1.2.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.
Files changed (129) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/ai.cjs +78 -78
  3. package/dist/ai.js +6 -6
  4. package/dist/catalogue.cjs +24 -24
  5. package/dist/catalogue.js +16 -16
  6. package/dist/{chunk-OIQAO7QU.js → chunk-2IY3LET7.js} +4 -4
  7. package/dist/{chunk-OIQAO7QU.js.map → chunk-2IY3LET7.js.map} +1 -1
  8. package/dist/{chunk-EDKQQKQR.js → chunk-3XPVCSFT.js} +6 -6
  9. package/dist/{chunk-EDKQQKQR.js.map → chunk-3XPVCSFT.js.map} +1 -1
  10. package/dist/{chunk-IVWFPFUG.js → chunk-4EJ4EGGH.js} +83 -35
  11. package/dist/chunk-4EJ4EGGH.js.map +1 -0
  12. package/dist/{chunk-VSUGJZ7G.cjs → chunk-4SRXM2VS.cjs} +161 -136
  13. package/dist/chunk-4SRXM2VS.cjs.map +1 -0
  14. package/dist/{chunk-K5HWMBWH.cjs → chunk-4T4TJ2QS.cjs} +9 -9
  15. package/dist/{chunk-K5HWMBWH.cjs.map → chunk-4T4TJ2QS.cjs.map} +1 -1
  16. package/dist/{chunk-V2ZBA5VC.js → chunk-4WRIGF7F.js} +8 -8
  17. package/dist/{chunk-V2ZBA5VC.js.map → chunk-4WRIGF7F.js.map} +1 -1
  18. package/dist/{chunk-AQNVYFEU.js → chunk-535R45JI.js} +6 -6
  19. package/dist/{chunk-AQNVYFEU.js.map → chunk-535R45JI.js.map} +1 -1
  20. package/dist/{chunk-PNMBRBAT.cjs → chunk-5QLDX75X.cjs} +4 -4
  21. package/dist/{chunk-PNMBRBAT.cjs.map → chunk-5QLDX75X.cjs.map} +1 -1
  22. package/dist/{chunk-PRXIYHSX.js → chunk-7GDKCDU4.js} +6 -6
  23. package/dist/{chunk-PRXIYHSX.js.map → chunk-7GDKCDU4.js.map} +1 -1
  24. package/dist/{chunk-JYO2T4MC.js → chunk-AD3NY7NA.js} +3 -3
  25. package/dist/{chunk-JYO2T4MC.js.map → chunk-AD3NY7NA.js.map} +1 -1
  26. package/dist/{chunk-J37ORWSG.js → chunk-B3RY7TN2.js} +7 -7
  27. package/dist/{chunk-J37ORWSG.js.map → chunk-B3RY7TN2.js.map} +1 -1
  28. package/dist/{chunk-EABO523V.cjs → chunk-BGPFGNCL.cjs} +31 -31
  29. package/dist/{chunk-EABO523V.cjs.map → chunk-BGPFGNCL.cjs.map} +1 -1
  30. package/dist/{chunk-QLDXQOHQ.js → chunk-BJTOLCRR.js} +7 -4
  31. package/dist/{chunk-QLDXQOHQ.js.map → chunk-BJTOLCRR.js.map} +1 -1
  32. package/dist/{chunk-OAAYF2EI.cjs → chunk-BM2GRZNM.cjs} +47 -30
  33. package/dist/chunk-BM2GRZNM.cjs.map +1 -0
  34. package/dist/{chunk-5LWJDRWD.js → chunk-BXSWZEA5.js} +3 -3
  35. package/dist/{chunk-5LWJDRWD.js.map → chunk-BXSWZEA5.js.map} +1 -1
  36. package/dist/{chunk-KFIE4OJE.cjs → chunk-C4MLW2QA.cjs} +15 -15
  37. package/dist/{chunk-KFIE4OJE.cjs.map → chunk-C4MLW2QA.cjs.map} +1 -1
  38. package/dist/{chunk-3G4ZWUUY.js → chunk-CSKKSXCE.js} +38 -19
  39. package/dist/chunk-CSKKSXCE.js.map +1 -0
  40. package/dist/{chunk-ZEQXMRJW.js → chunk-D4ISVKWS.js} +3 -3
  41. package/dist/{chunk-ZEQXMRJW.js.map → chunk-D4ISVKWS.js.map} +1 -1
  42. package/dist/{chunk-UGAOEZ3O.cjs → chunk-EXSNIIOR.cjs} +15 -15
  43. package/dist/{chunk-UGAOEZ3O.cjs.map → chunk-EXSNIIOR.cjs.map} +1 -1
  44. package/dist/{chunk-RUC5OZXO.js → chunk-GHNQKJMD.js} +3 -3
  45. package/dist/{chunk-RUC5OZXO.js.map → chunk-GHNQKJMD.js.map} +1 -1
  46. package/dist/{chunk-E52VO5JT.cjs → chunk-H3C3MJW5.cjs} +4 -4
  47. package/dist/{chunk-E52VO5JT.cjs.map → chunk-H3C3MJW5.cjs.map} +1 -1
  48. package/dist/{chunk-36OSSZDK.js → chunk-HPQM33PG.js} +6 -6
  49. package/dist/{chunk-36OSSZDK.js.map → chunk-HPQM33PG.js.map} +1 -1
  50. package/dist/{chunk-5DEPLPDS.cjs → chunk-I4KBYVSC.cjs} +28 -28
  51. package/dist/{chunk-5DEPLPDS.cjs.map → chunk-I4KBYVSC.cjs.map} +1 -1
  52. package/dist/{chunk-M5FREXRQ.cjs → chunk-LROGC3SI.cjs} +295 -245
  53. package/dist/chunk-LROGC3SI.cjs.map +1 -0
  54. package/dist/{chunk-XJ32XESJ.cjs → chunk-LXSVDRMH.cjs} +98 -98
  55. package/dist/{chunk-XJ32XESJ.cjs.map → chunk-LXSVDRMH.cjs.map} +1 -1
  56. package/dist/{chunk-KKRQDVBJ.cjs → chunk-O2VMWE4B.cjs} +24 -24
  57. package/dist/{chunk-KKRQDVBJ.cjs.map → chunk-O2VMWE4B.cjs.map} +1 -1
  58. package/dist/{chunk-JEFQNZO4.js → chunk-O4APV37F.js} +7 -7
  59. package/dist/{chunk-JEFQNZO4.js.map → chunk-O4APV37F.js.map} +1 -1
  60. package/dist/{chunk-5QNNF5ZJ.js → chunk-PX5CFG5J.js} +5 -5
  61. package/dist/{chunk-5QNNF5ZJ.js.map → chunk-PX5CFG5J.js.map} +1 -1
  62. package/dist/{chunk-BMEEEI43.cjs → chunk-RBYK3RGX.cjs} +13 -13
  63. package/dist/{chunk-BMEEEI43.cjs.map → chunk-RBYK3RGX.cjs.map} +1 -1
  64. package/dist/{chunk-JHA23OOK.js → chunk-RIGAO2QT.js} +6 -6
  65. package/dist/{chunk-JHA23OOK.js.map → chunk-RIGAO2QT.js.map} +1 -1
  66. package/dist/{chunk-6QLA3JOU.cjs → chunk-WYGSUSZF.cjs} +90 -90
  67. package/dist/{chunk-6QLA3JOU.cjs.map → chunk-WYGSUSZF.cjs.map} +1 -1
  68. package/dist/{chunk-6H76FAI3.cjs → chunk-WZA5S5EJ.cjs} +7 -4
  69. package/dist/{chunk-6H76FAI3.cjs.map → chunk-WZA5S5EJ.cjs.map} +1 -1
  70. package/dist/{chunk-ES2QYHXL.cjs → chunk-XT2ZKIYS.cjs} +45 -45
  71. package/dist/{chunk-ES2QYHXL.cjs.map → chunk-XT2ZKIYS.cjs.map} +1 -1
  72. package/dist/{chunk-G7HK4OHE.js → chunk-XWKFBLFO.js} +49 -24
  73. package/dist/chunk-XWKFBLFO.js.map +1 -0
  74. package/dist/{chunk-ZPGA5UIY.js → chunk-XYR7JW23.js} +7 -7
  75. package/dist/{chunk-ZPGA5UIY.js.map → chunk-XYR7JW23.js.map} +1 -1
  76. package/dist/{chunk-P3T5XBYW.cjs → chunk-XZ4NC3Q7.cjs} +6 -6
  77. package/dist/{chunk-P3T5XBYW.cjs.map → chunk-XZ4NC3Q7.cjs.map} +1 -1
  78. package/dist/{chunk-ABVSP2XR.cjs → chunk-YVMPIIMO.cjs} +292 -292
  79. package/dist/{chunk-ABVSP2XR.cjs.map → chunk-YVMPIIMO.cjs.map} +1 -1
  80. package/dist/{chunk-QAI3CM7V.cjs → chunk-YWPFC2PX.cjs} +55 -55
  81. package/dist/{chunk-QAI3CM7V.cjs.map → chunk-YWPFC2PX.cjs.map} +1 -1
  82. package/dist/comments.cjs +58 -58
  83. package/dist/comments.js +7 -7
  84. package/dist/diff.cjs +29 -32
  85. package/dist/diff.cjs.map +1 -1
  86. package/dist/diff.js +8 -11
  87. package/dist/diff.js.map +1 -1
  88. package/dist/docx.cjs +30 -30
  89. package/dist/docx.js +3 -3
  90. package/dist/embed.cjs +9 -9
  91. package/dist/embed.js +7 -7
  92. package/dist/emoji.cjs +9 -9
  93. package/dist/emoji.js +6 -6
  94. package/dist/engine.cjs +58 -58
  95. package/dist/engine.d.cts +4 -1
  96. package/dist/engine.d.ts +4 -1
  97. package/dist/engine.js +3 -3
  98. package/dist/find.cjs +10 -10
  99. package/dist/find.js +6 -6
  100. package/dist/headless.cjs +74 -74
  101. package/dist/headless.js +4 -4
  102. package/dist/index.cjs +86 -86
  103. package/dist/index.js +5 -5
  104. package/dist/math.cjs +10 -10
  105. package/dist/math.js +8 -8
  106. package/dist/mention.cjs +10 -10
  107. package/dist/mention.js +8 -8
  108. package/dist/presence.cjs +38 -38
  109. package/dist/presence.js +7 -7
  110. package/dist/stats.cjs +10 -10
  111. package/dist/stats.js +7 -7
  112. package/dist/styles.css +1 -1
  113. package/dist/table.cjs +25 -25
  114. package/dist/table.js +6 -6
  115. package/dist/toc.cjs +9 -9
  116. package/dist/toc.js +6 -6
  117. package/dist/view.cjs +4 -4
  118. package/dist/view.js +2 -2
  119. package/dist/yjs.cjs +125 -120
  120. package/dist/yjs.cjs.map +1 -1
  121. package/dist/yjs.js +11 -6
  122. package/dist/yjs.js.map +1 -1
  123. package/package.json +1 -1
  124. package/dist/chunk-3G4ZWUUY.js.map +0 -1
  125. package/dist/chunk-G7HK4OHE.js.map +0 -1
  126. package/dist/chunk-IVWFPFUG.js.map +0 -1
  127. package/dist/chunk-M5FREXRQ.cjs.map +0 -1
  128. package/dist/chunk-OAAYF2EI.cjs.map +0 -1
  129. package/dist/chunk-VSUGJZ7G.cjs.map +0 -1
package/dist/engine.cjs CHANGED
@@ -1,230 +1,230 @@
1
1
  'use strict';
2
2
 
3
- var chunkM5FREXRQ_cjs = require('./chunk-M5FREXRQ.cjs');
4
- var chunkOAAYF2EI_cjs = require('./chunk-OAAYF2EI.cjs');
5
- var chunk6H76FAI3_cjs = require('./chunk-6H76FAI3.cjs');
3
+ var chunkLROGC3SI_cjs = require('./chunk-LROGC3SI.cjs');
4
+ var chunkBM2GRZNM_cjs = require('./chunk-BM2GRZNM.cjs');
5
+ var chunkWZA5S5EJ_cjs = require('./chunk-WZA5S5EJ.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "Transaction", {
10
10
  enumerable: true,
11
- get: function () { return chunkM5FREXRQ_cjs.Transaction; }
11
+ get: function () { return chunkLROGC3SI_cjs.Transaction; }
12
12
  });
13
13
  Object.defineProperty(exports, "addMarkStep", {
14
14
  enumerable: true,
15
- get: function () { return chunkM5FREXRQ_cjs.addMarkStep; }
15
+ get: function () { return chunkLROGC3SI_cjs.addMarkStep; }
16
16
  });
17
17
  Object.defineProperty(exports, "applyTransaction", {
18
18
  enumerable: true,
19
- get: function () { return chunkM5FREXRQ_cjs.applyTransaction; }
19
+ get: function () { return chunkLROGC3SI_cjs.applyTransaction; }
20
20
  });
21
21
  Object.defineProperty(exports, "blockInputRules", {
22
22
  enumerable: true,
23
- get: function () { return chunkM5FREXRQ_cjs.blockInputRules; }
23
+ get: function () { return chunkLROGC3SI_cjs.blockInputRules; }
24
24
  });
25
25
  Object.defineProperty(exports, "blockRangeSelection", {
26
26
  enumerable: true,
27
- get: function () { return chunkM5FREXRQ_cjs.blockRangeSelection; }
27
+ get: function () { return chunkLROGC3SI_cjs.blockRangeSelection; }
28
28
  });
29
29
  Object.defineProperty(exports, "coreExtensions", {
30
30
  enumerable: true,
31
- get: function () { return chunkM5FREXRQ_cjs.coreExtensions; }
31
+ get: function () { return chunkLROGC3SI_cjs.coreExtensions; }
32
32
  });
33
33
  Object.defineProperty(exports, "countDoc", {
34
34
  enumerable: true,
35
- get: function () { return chunkM5FREXRQ_cjs.countDoc; }
35
+ get: function () { return chunkLROGC3SI_cjs.countDoc; }
36
36
  });
37
37
  Object.defineProperty(exports, "countText", {
38
38
  enumerable: true,
39
- get: function () { return chunkM5FREXRQ_cjs.countText; }
39
+ get: function () { return chunkLROGC3SI_cjs.countText; }
40
40
  });
41
41
  Object.defineProperty(exports, "createEditor", {
42
42
  enumerable: true,
43
- get: function () { return chunkM5FREXRQ_cjs.createEditor; }
43
+ get: function () { return chunkLROGC3SI_cjs.createEditor; }
44
44
  });
45
45
  Object.defineProperty(exports, "createPluginKey", {
46
46
  enumerable: true,
47
- get: function () { return chunkM5FREXRQ_cjs.createPluginKey; }
47
+ get: function () { return chunkLROGC3SI_cjs.createPluginKey; }
48
48
  });
49
49
  Object.defineProperty(exports, "createState", {
50
50
  enumerable: true,
51
- get: function () { return chunkM5FREXRQ_cjs.createState; }
51
+ get: function () { return chunkLROGC3SI_cjs.createState; }
52
52
  });
53
53
  Object.defineProperty(exports, "defineExtension", {
54
54
  enumerable: true,
55
- get: function () { return chunkM5FREXRQ_cjs.defineExtension; }
55
+ get: function () { return chunkLROGC3SI_cjs.defineExtension; }
56
56
  });
57
57
  Object.defineProperty(exports, "fromHTML", {
58
58
  enumerable: true,
59
- get: function () { return chunkM5FREXRQ_cjs.fromHTML; }
59
+ get: function () { return chunkLROGC3SI_cjs.fromHTML; }
60
60
  });
61
61
  Object.defineProperty(exports, "getPluginState", {
62
62
  enumerable: true,
63
- get: function () { return chunkM5FREXRQ_cjs.getPluginState; }
63
+ get: function () { return chunkLROGC3SI_cjs.getPluginState; }
64
64
  });
65
65
  Object.defineProperty(exports, "insertBlockAfter", {
66
66
  enumerable: true,
67
- get: function () { return chunkM5FREXRQ_cjs.insertBlockAfter; }
67
+ get: function () { return chunkLROGC3SI_cjs.insertBlockAfter; }
68
68
  });
69
69
  Object.defineProperty(exports, "insertBlocksStep", {
70
70
  enumerable: true,
71
- get: function () { return chunkM5FREXRQ_cjs.insertBlocksStep; }
71
+ get: function () { return chunkLROGC3SI_cjs.insertBlocksStep; }
72
72
  });
73
73
  Object.defineProperty(exports, "insertText", {
74
74
  enumerable: true,
75
- get: function () { return chunkM5FREXRQ_cjs.insertText; }
75
+ get: function () { return chunkLROGC3SI_cjs.insertText; }
76
76
  });
77
77
  Object.defineProperty(exports, "insertTextWithRules", {
78
78
  enumerable: true,
79
- get: function () { return chunkM5FREXRQ_cjs.insertTextWithRules; }
79
+ get: function () { return chunkLROGC3SI_cjs.insertTextWithRules; }
80
80
  });
81
81
  Object.defineProperty(exports, "joinBlocksStep", {
82
82
  enumerable: true,
83
- get: function () { return chunkM5FREXRQ_cjs.joinBlocksStep; }
83
+ get: function () { return chunkLROGC3SI_cjs.joinBlocksStep; }
84
84
  });
85
85
  Object.defineProperty(exports, "keyName", {
86
86
  enumerable: true,
87
- get: function () { return chunkM5FREXRQ_cjs.keyName; }
87
+ get: function () { return chunkLROGC3SI_cjs.keyName; }
88
88
  });
89
89
  Object.defineProperty(exports, "markInputRules", {
90
90
  enumerable: true,
91
- get: function () { return chunkM5FREXRQ_cjs.markInputRules; }
91
+ get: function () { return chunkLROGC3SI_cjs.markInputRules; }
92
92
  });
93
93
  Object.defineProperty(exports, "moveBlocksStep", {
94
94
  enumerable: true,
95
- get: function () { return chunkM5FREXRQ_cjs.moveBlocksStep; }
95
+ get: function () { return chunkLROGC3SI_cjs.moveBlocksStep; }
96
96
  });
97
97
  Object.defineProperty(exports, "nodeSelection", {
98
98
  enumerable: true,
99
- get: function () { return chunkM5FREXRQ_cjs.nodeSelection; }
99
+ get: function () { return chunkLROGC3SI_cjs.nodeSelection; }
100
100
  });
101
101
  Object.defineProperty(exports, "normalizeKey", {
102
102
  enumerable: true,
103
- get: function () { return chunkM5FREXRQ_cjs.normalizeKey; }
103
+ get: function () { return chunkLROGC3SI_cjs.normalizeKey; }
104
104
  });
105
105
  Object.defineProperty(exports, "redo", {
106
106
  enumerable: true,
107
- get: function () { return chunkM5FREXRQ_cjs.redo; }
107
+ get: function () { return chunkLROGC3SI_cjs.redo; }
108
108
  });
109
109
  Object.defineProperty(exports, "removeBlocksStep", {
110
110
  enumerable: true,
111
- get: function () { return chunkM5FREXRQ_cjs.removeBlocksStep; }
111
+ get: function () { return chunkLROGC3SI_cjs.removeBlocksStep; }
112
112
  });
113
113
  Object.defineProperty(exports, "removeMarkStep", {
114
114
  enumerable: true,
115
- get: function () { return chunkM5FREXRQ_cjs.removeMarkStep; }
115
+ get: function () { return chunkLROGC3SI_cjs.removeMarkStep; }
116
116
  });
117
117
  Object.defineProperty(exports, "replaceBlockStep", {
118
118
  enumerable: true,
119
- get: function () { return chunkM5FREXRQ_cjs.replaceBlockStep; }
119
+ get: function () { return chunkLROGC3SI_cjs.replaceBlockStep; }
120
120
  });
121
121
  Object.defineProperty(exports, "replaceDocStep", {
122
122
  enumerable: true,
123
- get: function () { return chunkM5FREXRQ_cjs.replaceDocStep; }
123
+ get: function () { return chunkLROGC3SI_cjs.replaceDocStep; }
124
124
  });
125
125
  Object.defineProperty(exports, "replaceInlineStep", {
126
126
  enumerable: true,
127
- get: function () { return chunkM5FREXRQ_cjs.replaceInlineStep; }
127
+ get: function () { return chunkLROGC3SI_cjs.replaceInlineStep; }
128
128
  });
129
129
  Object.defineProperty(exports, "setAttrsStep", {
130
130
  enumerable: true,
131
- get: function () { return chunkM5FREXRQ_cjs.setAttrsStep; }
131
+ get: function () { return chunkLROGC3SI_cjs.setAttrsStep; }
132
132
  });
133
133
  Object.defineProperty(exports, "setBlockType", {
134
134
  enumerable: true,
135
- get: function () { return chunkM5FREXRQ_cjs.setBlockType; }
135
+ get: function () { return chunkLROGC3SI_cjs.setBlockType; }
136
136
  });
137
137
  Object.defineProperty(exports, "setIndentStep", {
138
138
  enumerable: true,
139
- get: function () { return chunkM5FREXRQ_cjs.setIndentStep; }
139
+ get: function () { return chunkLROGC3SI_cjs.setIndentStep; }
140
140
  });
141
141
  Object.defineProperty(exports, "splitBlockStep", {
142
142
  enumerable: true,
143
- get: function () { return chunkM5FREXRQ_cjs.splitBlockStep; }
143
+ get: function () { return chunkLROGC3SI_cjs.splitBlockStep; }
144
144
  });
145
145
  Object.defineProperty(exports, "stepFromJSON", {
146
146
  enumerable: true,
147
- get: function () { return chunkM5FREXRQ_cjs.stepFromJSON; }
147
+ get: function () { return chunkLROGC3SI_cjs.stepFromJSON; }
148
148
  });
149
149
  Object.defineProperty(exports, "textSelection", {
150
150
  enumerable: true,
151
- get: function () { return chunkM5FREXRQ_cjs.textSelection; }
151
+ get: function () { return chunkLROGC3SI_cjs.textSelection; }
152
152
  });
153
153
  Object.defineProperty(exports, "toHTML", {
154
154
  enumerable: true,
155
- get: function () { return chunkM5FREXRQ_cjs.toHTML; }
155
+ get: function () { return chunkLROGC3SI_cjs.toHTML; }
156
156
  });
157
157
  Object.defineProperty(exports, "toMarkdown", {
158
158
  enumerable: true,
159
- get: function () { return chunkM5FREXRQ_cjs.toMarkdown; }
159
+ get: function () { return chunkLROGC3SI_cjs.toMarkdown; }
160
160
  });
161
161
  Object.defineProperty(exports, "toPlainText", {
162
162
  enumerable: true,
163
- get: function () { return chunkM5FREXRQ_cjs.toPlainText; }
163
+ get: function () { return chunkLROGC3SI_cjs.toPlainText; }
164
164
  });
165
165
  Object.defineProperty(exports, "toggleMark", {
166
166
  enumerable: true,
167
- get: function () { return chunkM5FREXRQ_cjs.toggleMark; }
167
+ get: function () { return chunkLROGC3SI_cjs.toggleMark; }
168
168
  });
169
169
  Object.defineProperty(exports, "typographyRules", {
170
170
  enumerable: true,
171
- get: function () { return chunkM5FREXRQ_cjs.typographyRules; }
171
+ get: function () { return chunkLROGC3SI_cjs.typographyRules; }
172
172
  });
173
173
  Object.defineProperty(exports, "undo", {
174
174
  enumerable: true,
175
- get: function () { return chunkM5FREXRQ_cjs.undo; }
175
+ get: function () { return chunkLROGC3SI_cjs.undo; }
176
176
  });
177
177
  Object.defineProperty(exports, "diffBlocks", {
178
178
  enumerable: true,
179
- get: function () { return chunkOAAYF2EI_cjs.diffBlocks; }
179
+ get: function () { return chunkBM2GRZNM_cjs.diffBlocks; }
180
180
  });
181
181
  Object.defineProperty(exports, "diffInline", {
182
182
  enumerable: true,
183
- get: function () { return chunkOAAYF2EI_cjs.diffInline; }
183
+ get: function () { return chunkBM2GRZNM_cjs.diffInline; }
184
184
  });
185
185
  Object.defineProperty(exports, "PALETTE", {
186
186
  enumerable: true,
187
- get: function () { return chunk6H76FAI3_cjs.PALETTE; }
187
+ get: function () { return chunkWZA5S5EJ_cjs.PALETTE; }
188
188
  });
189
189
  Object.defineProperty(exports, "atom", {
190
190
  enumerable: true,
191
- get: function () { return chunk6H76FAI3_cjs.atom; }
191
+ get: function () { return chunkWZA5S5EJ_cjs.atom; }
192
192
  });
193
193
  Object.defineProperty(exports, "coreBlockSpecs", {
194
194
  enumerable: true,
195
- get: function () { return chunk6H76FAI3_cjs.coreBlockSpecs; }
195
+ get: function () { return chunkWZA5S5EJ_cjs.coreBlockSpecs; }
196
196
  });
197
197
  Object.defineProperty(exports, "createBlockCodec", {
198
198
  enumerable: true,
199
- get: function () { return chunk6H76FAI3_cjs.createBlockCodec; }
199
+ get: function () { return chunkWZA5S5EJ_cjs.createBlockCodec; }
200
200
  });
201
201
  Object.defineProperty(exports, "createSchema", {
202
202
  enumerable: true,
203
- get: function () { return chunk6H76FAI3_cjs.createSchema; }
203
+ get: function () { return chunkWZA5S5EJ_cjs.createSchema; }
204
204
  });
205
205
  Object.defineProperty(exports, "fromMarkdown", {
206
206
  enumerable: true,
207
- get: function () { return chunk6H76FAI3_cjs.fromMarkdown; }
207
+ get: function () { return chunkWZA5S5EJ_cjs.fromMarkdown; }
208
208
  });
209
209
  Object.defineProperty(exports, "normalizeInline", {
210
210
  enumerable: true,
211
- get: function () { return chunk6H76FAI3_cjs.normalizeInline; }
211
+ get: function () { return chunkWZA5S5EJ_cjs.normalizeInline; }
212
212
  });
213
213
  Object.defineProperty(exports, "parseInline", {
214
214
  enumerable: true,
215
- get: function () { return chunk6H76FAI3_cjs.parseInline; }
215
+ get: function () { return chunkWZA5S5EJ_cjs.parseInline; }
216
216
  });
217
217
  Object.defineProperty(exports, "sanitizeHref", {
218
218
  enumerable: true,
219
- get: function () { return chunk6H76FAI3_cjs.sanitizeHref; }
219
+ get: function () { return chunkWZA5S5EJ_cjs.sanitizeHref; }
220
220
  });
221
221
  Object.defineProperty(exports, "serializeInline", {
222
222
  enumerable: true,
223
- get: function () { return chunk6H76FAI3_cjs.serializeInline; }
223
+ get: function () { return chunkWZA5S5EJ_cjs.serializeInline; }
224
224
  });
225
225
  Object.defineProperty(exports, "text", {
226
226
  enumerable: true,
227
- get: function () { return chunk6H76FAI3_cjs.text; }
227
+ get: function () { return chunkWZA5S5EJ_cjs.text; }
228
228
  });
229
229
  //# sourceMappingURL=engine.cjs.map
230
230
  //# sourceMappingURL=engine.cjs.map
package/dist/engine.d.cts CHANGED
@@ -20,7 +20,8 @@ declare function createSchema(input?: SchemaInput): Schema;
20
20
  declare const coreBlockSpecs: BlockSpec[];
21
21
 
22
22
  type BlockCodec = {
23
- toEngineBlocks(block: QuoinBlock): EngineBlock[];
23
+ /** `taken` holds the ids of the other blocks of the document, which a split piece never takes. */
24
+ toEngineBlocks(block: QuoinBlock, taken?: ReadonlySet<string>): EngineBlock[];
24
25
  toQuoin(block: EngineBlock): QuoinBlock;
25
26
  docFromBlocks(blocks: readonly QuoinBlock[]): EngineDoc;
26
27
  blocksFromDoc(doc: EngineDoc): QuoinBlock[];
@@ -119,6 +120,7 @@ type BlockChange = {
119
120
  attrsChanged: boolean;
120
121
  };
121
122
 
123
+ /** A moved block is deleted where it was and inserted where it went, its insertion holding its `change` if edited. */
122
124
  type BlockDiff = {
123
125
  op: 'equal';
124
126
  block: QuoinBlock;
@@ -126,6 +128,7 @@ type BlockDiff = {
126
128
  op: 'insert';
127
129
  block: QuoinBlock;
128
130
  moved?: boolean;
131
+ change?: BlockChange;
129
132
  } | {
130
133
  op: 'delete';
131
134
  block: QuoinBlock;
package/dist/engine.d.ts CHANGED
@@ -20,7 +20,8 @@ declare function createSchema(input?: SchemaInput): Schema;
20
20
  declare const coreBlockSpecs: BlockSpec[];
21
21
 
22
22
  type BlockCodec = {
23
- toEngineBlocks(block: QuoinBlock): EngineBlock[];
23
+ /** `taken` holds the ids of the other blocks of the document, which a split piece never takes. */
24
+ toEngineBlocks(block: QuoinBlock, taken?: ReadonlySet<string>): EngineBlock[];
24
25
  toQuoin(block: EngineBlock): QuoinBlock;
25
26
  docFromBlocks(blocks: readonly QuoinBlock[]): EngineDoc;
26
27
  blocksFromDoc(doc: EngineDoc): QuoinBlock[];
@@ -119,6 +120,7 @@ type BlockChange = {
119
120
  attrsChanged: boolean;
120
121
  };
121
122
 
123
+ /** A moved block is deleted where it was and inserted where it went, its insertion holding its `change` if edited. */
122
124
  type BlockDiff = {
123
125
  op: 'equal';
124
126
  block: QuoinBlock;
@@ -126,6 +128,7 @@ type BlockDiff = {
126
128
  op: 'insert';
127
129
  block: QuoinBlock;
128
130
  moved?: boolean;
131
+ change?: BlockChange;
129
132
  } | {
130
133
  op: 'delete';
131
134
  block: QuoinBlock;
package/dist/engine.js CHANGED
@@ -1,5 +1,5 @@
1
- export { Transaction, addMarkStep, applyTransaction, blockInputRules, blockRangeSelection, coreExtensions, countDoc, countText, createEditor, createPluginKey, createState, defineExtension, fromHTML, getPluginState, insertBlockAfter, insertBlocksStep, insertText, insertTextWithRules, joinBlocksStep, keyName, markInputRules, moveBlocksStep, nodeSelection, normalizeKey, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, setAttrsStep, setBlockType, setIndentStep, splitBlockStep, stepFromJSON, textSelection, toHTML, toMarkdown, toPlainText, toggleMark, typographyRules, undo } from './chunk-IVWFPFUG.js';
2
- export { diffBlocks, diffInline } from './chunk-3G4ZWUUY.js';
3
- export { PALETTE, atom, coreBlockSpecs, createBlockCodec, createSchema, fromMarkdown, normalizeInline, parseInline, sanitizeHref, serializeInline, text } from './chunk-QLDXQOHQ.js';
1
+ export { Transaction, addMarkStep, applyTransaction, blockInputRules, blockRangeSelection, coreExtensions, countDoc, countText, createEditor, createPluginKey, createState, defineExtension, fromHTML, getPluginState, insertBlockAfter, insertBlocksStep, insertText, insertTextWithRules, joinBlocksStep, keyName, markInputRules, moveBlocksStep, nodeSelection, normalizeKey, redo, removeBlocksStep, removeMarkStep, replaceBlockStep, replaceDocStep, replaceInlineStep, setAttrsStep, setBlockType, setIndentStep, splitBlockStep, stepFromJSON, textSelection, toHTML, toMarkdown, toPlainText, toggleMark, typographyRules, undo } from './chunk-4EJ4EGGH.js';
2
+ export { diffBlocks, diffInline } from './chunk-CSKKSXCE.js';
3
+ export { PALETTE, atom, coreBlockSpecs, createBlockCodec, createSchema, fromMarkdown, normalizeInline, parseInline, sanitizeHref, serializeInline, text } from './chunk-BJTOLCRR.js';
4
4
  //# sourceMappingURL=engine.js.map
5
5
  //# sourceMappingURL=engine.js.map
package/dist/find.cjs CHANGED
@@ -1,31 +1,31 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkES2QYHXL_cjs = require('./chunk-ES2QYHXL.cjs');
5
- require('./chunk-ABVSP2XR.cjs');
6
- require('./chunk-VSUGJZ7G.cjs');
4
+ var chunkXT2ZKIYS_cjs = require('./chunk-XT2ZKIYS.cjs');
5
+ require('./chunk-YVMPIIMO.cjs');
6
+ require('./chunk-4SRXM2VS.cjs');
7
7
  require('./chunk-A6PGQVTR.cjs');
8
- require('./chunk-M5FREXRQ.cjs');
9
- require('./chunk-OAAYF2EI.cjs');
10
- require('./chunk-6H76FAI3.cjs');
8
+ require('./chunk-LROGC3SI.cjs');
9
+ require('./chunk-BM2GRZNM.cjs');
10
+ require('./chunk-WZA5S5EJ.cjs');
11
11
 
12
12
 
13
13
 
14
14
  Object.defineProperty(exports, "englishFindLabels", {
15
15
  enumerable: true,
16
- get: function () { return chunkES2QYHXL_cjs.englishFindLabels; }
16
+ get: function () { return chunkXT2ZKIYS_cjs.englishFindLabels; }
17
17
  });
18
18
  Object.defineProperty(exports, "findExtension", {
19
19
  enumerable: true,
20
- get: function () { return chunkES2QYHXL_cjs.findExtension; }
20
+ get: function () { return chunkXT2ZKIYS_cjs.findExtension; }
21
21
  });
22
22
  Object.defineProperty(exports, "findMatches", {
23
23
  enumerable: true,
24
- get: function () { return chunkES2QYHXL_cjs.findMatches; }
24
+ get: function () { return chunkXT2ZKIYS_cjs.findMatches; }
25
25
  });
26
26
  Object.defineProperty(exports, "replaceMatches", {
27
27
  enumerable: true,
28
- get: function () { return chunkES2QYHXL_cjs.replaceMatches; }
28
+ get: function () { return chunkXT2ZKIYS_cjs.replaceMatches; }
29
29
  });
30
30
  //# sourceMappingURL=find.cjs.map
31
31
  //# sourceMappingURL=find.cjs.map
package/dist/find.js CHANGED
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- export { englishFindLabels, findExtension, findMatches, replaceMatches } from './chunk-36OSSZDK.js';
3
- import './chunk-JEFQNZO4.js';
4
- import './chunk-G7HK4OHE.js';
2
+ export { englishFindLabels, findExtension, findMatches, replaceMatches } from './chunk-HPQM33PG.js';
3
+ import './chunk-O4APV37F.js';
4
+ import './chunk-XWKFBLFO.js';
5
5
  import './chunk-HDJ653LM.js';
6
- import './chunk-IVWFPFUG.js';
7
- import './chunk-3G4ZWUUY.js';
8
- import './chunk-QLDXQOHQ.js';
6
+ import './chunk-4EJ4EGGH.js';
7
+ import './chunk-CSKKSXCE.js';
8
+ import './chunk-BJTOLCRR.js';
9
9
  //# sourceMappingURL=find.js.map
10
10
  //# sourceMappingURL=find.js.map