@ckeditor/ckeditor5-engine 47.3.0 → 47.4.0-alpha.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.
Files changed (258) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/index-content.css +1 -1
  3. package/dist/index-editor.css +1 -1
  4. package/dist/index.css +3 -3
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.js +16 -12
  7. package/dist/index.js.map +1 -1
  8. package/package.json +3 -3
  9. package/src/controller/datacontroller.d.ts +1 -1
  10. package/src/controller/datacontroller.js +1 -1
  11. package/src/controller/editingcontroller.d.ts +1 -1
  12. package/src/controller/editingcontroller.js +1 -1
  13. package/src/conversion/conversion.d.ts +1 -1
  14. package/src/conversion/conversion.js +1 -1
  15. package/src/conversion/conversionhelpers.d.ts +1 -1
  16. package/src/conversion/conversionhelpers.js +1 -1
  17. package/src/conversion/downcastdispatcher.d.ts +1 -1
  18. package/src/conversion/downcastdispatcher.js +12 -2
  19. package/src/conversion/downcasthelpers.d.ts +1 -1
  20. package/src/conversion/downcasthelpers.js +1 -1
  21. package/src/conversion/mapper.d.ts +1 -1
  22. package/src/conversion/mapper.js +1 -1
  23. package/src/conversion/modelconsumable.d.ts +1 -1
  24. package/src/conversion/modelconsumable.js +1 -1
  25. package/src/conversion/upcastdispatcher.d.ts +1 -1
  26. package/src/conversion/upcastdispatcher.js +1 -1
  27. package/src/conversion/upcasthelpers.d.ts +1 -1
  28. package/src/conversion/upcasthelpers.js +1 -1
  29. package/src/conversion/viewconsumable.d.ts +1 -1
  30. package/src/conversion/viewconsumable.js +1 -1
  31. package/src/dataprocessor/basichtmlwriter.d.ts +1 -1
  32. package/src/dataprocessor/basichtmlwriter.js +1 -1
  33. package/src/dataprocessor/dataprocessor.d.ts +1 -1
  34. package/src/dataprocessor/dataprocessor.js +1 -1
  35. package/src/dataprocessor/htmldataprocessor.d.ts +1 -1
  36. package/src/dataprocessor/htmldataprocessor.js +1 -1
  37. package/src/dataprocessor/htmlwriter.d.ts +1 -1
  38. package/src/dataprocessor/htmlwriter.js +1 -1
  39. package/src/dataprocessor/xmldataprocessor.d.ts +1 -1
  40. package/src/dataprocessor/xmldataprocessor.js +1 -1
  41. package/src/dev-utils/model.d.ts +1 -1
  42. package/src/dev-utils/model.js +1 -1
  43. package/src/dev-utils/operationreplayer.d.ts +1 -1
  44. package/src/dev-utils/operationreplayer.js +1 -1
  45. package/src/dev-utils/utils.d.ts +1 -1
  46. package/src/dev-utils/utils.js +1 -1
  47. package/src/dev-utils/view.d.ts +1 -1
  48. package/src/dev-utils/view.js +1 -1
  49. package/src/engineconfig.d.ts +1 -1
  50. package/src/engineconfig.js +1 -1
  51. package/src/index.d.ts +1 -1
  52. package/src/index.js +1 -1
  53. package/src/legacyerrors.d.ts +1 -1
  54. package/src/legacyerrors.js +1 -1
  55. package/src/model/batch.d.ts +1 -1
  56. package/src/model/batch.js +1 -1
  57. package/src/model/differ.d.ts +1 -1
  58. package/src/model/differ.js +1 -1
  59. package/src/model/document.d.ts +1 -1
  60. package/src/model/document.js +1 -1
  61. package/src/model/documentfragment.d.ts +1 -1
  62. package/src/model/documentfragment.js +1 -1
  63. package/src/model/documentselection.d.ts +1 -1
  64. package/src/model/documentselection.js +1 -1
  65. package/src/model/element.d.ts +1 -1
  66. package/src/model/element.js +1 -1
  67. package/src/model/history.d.ts +1 -1
  68. package/src/model/history.js +1 -1
  69. package/src/model/item.d.ts +1 -1
  70. package/src/model/item.js +1 -1
  71. package/src/model/liveposition.d.ts +1 -1
  72. package/src/model/liveposition.js +1 -1
  73. package/src/model/liverange.d.ts +1 -1
  74. package/src/model/liverange.js +1 -1
  75. package/src/model/markercollection.d.ts +1 -1
  76. package/src/model/markercollection.js +1 -1
  77. package/src/model/model.d.ts +1 -1
  78. package/src/model/model.js +1 -1
  79. package/src/model/node.d.ts +1 -1
  80. package/src/model/node.js +1 -1
  81. package/src/model/nodelist.d.ts +1 -1
  82. package/src/model/nodelist.js +1 -1
  83. package/src/model/operation/attributeoperation.d.ts +1 -1
  84. package/src/model/operation/attributeoperation.js +1 -1
  85. package/src/model/operation/detachoperation.d.ts +1 -1
  86. package/src/model/operation/detachoperation.js +1 -1
  87. package/src/model/operation/insertoperation.d.ts +1 -1
  88. package/src/model/operation/insertoperation.js +1 -1
  89. package/src/model/operation/markeroperation.d.ts +1 -1
  90. package/src/model/operation/markeroperation.js +1 -1
  91. package/src/model/operation/mergeoperation.d.ts +1 -1
  92. package/src/model/operation/mergeoperation.js +1 -1
  93. package/src/model/operation/moveoperation.d.ts +1 -1
  94. package/src/model/operation/moveoperation.js +1 -1
  95. package/src/model/operation/nooperation.d.ts +1 -1
  96. package/src/model/operation/nooperation.js +1 -1
  97. package/src/model/operation/operation.d.ts +1 -1
  98. package/src/model/operation/operation.js +1 -1
  99. package/src/model/operation/operationfactory.d.ts +1 -1
  100. package/src/model/operation/operationfactory.js +1 -1
  101. package/src/model/operation/renameoperation.d.ts +1 -1
  102. package/src/model/operation/renameoperation.js +1 -1
  103. package/src/model/operation/rootattributeoperation.d.ts +1 -1
  104. package/src/model/operation/rootattributeoperation.js +1 -1
  105. package/src/model/operation/rootoperation.d.ts +1 -1
  106. package/src/model/operation/rootoperation.js +1 -1
  107. package/src/model/operation/splitoperation.d.ts +1 -1
  108. package/src/model/operation/splitoperation.js +1 -1
  109. package/src/model/operation/transform.d.ts +1 -1
  110. package/src/model/operation/transform.js +2 -2
  111. package/src/model/operation/utils.d.ts +1 -1
  112. package/src/model/operation/utils.js +1 -1
  113. package/src/model/position.d.ts +1 -1
  114. package/src/model/position.js +1 -1
  115. package/src/model/range.d.ts +1 -1
  116. package/src/model/range.js +1 -1
  117. package/src/model/rootelement.d.ts +1 -1
  118. package/src/model/rootelement.js +1 -1
  119. package/src/model/schema.d.ts +1 -1
  120. package/src/model/schema.js +1 -1
  121. package/src/model/selection.d.ts +1 -1
  122. package/src/model/selection.js +1 -1
  123. package/src/model/text.d.ts +1 -1
  124. package/src/model/text.js +1 -1
  125. package/src/model/textproxy.d.ts +1 -1
  126. package/src/model/textproxy.js +1 -1
  127. package/src/model/treewalker.d.ts +1 -1
  128. package/src/model/treewalker.js +1 -1
  129. package/src/model/typecheckable.d.ts +1 -1
  130. package/src/model/typecheckable.js +1 -1
  131. package/src/model/utils/autoparagraphing.d.ts +1 -1
  132. package/src/model/utils/autoparagraphing.js +1 -1
  133. package/src/model/utils/deletecontent.d.ts +1 -1
  134. package/src/model/utils/deletecontent.js +1 -1
  135. package/src/model/utils/getselectedcontent.d.ts +1 -1
  136. package/src/model/utils/getselectedcontent.js +1 -1
  137. package/src/model/utils/insertcontent.d.ts +1 -1
  138. package/src/model/utils/insertcontent.js +1 -1
  139. package/src/model/utils/insertobject.d.ts +1 -1
  140. package/src/model/utils/insertobject.js +1 -1
  141. package/src/model/utils/modifyselection.d.ts +1 -1
  142. package/src/model/utils/modifyselection.js +1 -1
  143. package/src/model/utils/selection-post-fixer.d.ts +1 -1
  144. package/src/model/utils/selection-post-fixer.js +1 -1
  145. package/src/model/writer.d.ts +1 -1
  146. package/src/model/writer.js +1 -1
  147. package/src/view/attributeelement.d.ts +1 -1
  148. package/src/view/attributeelement.js +1 -1
  149. package/src/view/containerelement.d.ts +1 -1
  150. package/src/view/containerelement.js +1 -1
  151. package/src/view/datatransfer.d.ts +1 -1
  152. package/src/view/datatransfer.js +1 -1
  153. package/src/view/document.d.ts +1 -1
  154. package/src/view/document.js +1 -1
  155. package/src/view/documentfragment.d.ts +1 -1
  156. package/src/view/documentfragment.js +1 -1
  157. package/src/view/documentselection.d.ts +1 -1
  158. package/src/view/documentselection.js +1 -1
  159. package/src/view/domconverter.d.ts +1 -1
  160. package/src/view/domconverter.js +1 -1
  161. package/src/view/downcastwriter.d.ts +1 -1
  162. package/src/view/downcastwriter.js +1 -1
  163. package/src/view/editableelement.d.ts +1 -1
  164. package/src/view/editableelement.js +1 -1
  165. package/src/view/element.d.ts +1 -1
  166. package/src/view/element.js +1 -1
  167. package/src/view/elementdefinition.d.ts +1 -1
  168. package/src/view/elementdefinition.js +1 -1
  169. package/src/view/emptyelement.d.ts +1 -1
  170. package/src/view/emptyelement.js +1 -1
  171. package/src/view/filler.d.ts +1 -1
  172. package/src/view/filler.js +1 -1
  173. package/src/view/item.d.ts +1 -1
  174. package/src/view/item.js +1 -1
  175. package/src/view/matcher.d.ts +1 -1
  176. package/src/view/matcher.js +1 -1
  177. package/src/view/node.d.ts +1 -1
  178. package/src/view/node.js +1 -1
  179. package/src/view/observer/arrowkeysobserver.d.ts +1 -1
  180. package/src/view/observer/arrowkeysobserver.js +1 -1
  181. package/src/view/observer/bubblingemittermixin.d.ts +1 -1
  182. package/src/view/observer/bubblingemittermixin.js +1 -1
  183. package/src/view/observer/bubblingeventinfo.d.ts +1 -1
  184. package/src/view/observer/bubblingeventinfo.js +1 -1
  185. package/src/view/observer/clickobserver.d.ts +1 -1
  186. package/src/view/observer/clickobserver.js +1 -1
  187. package/src/view/observer/compositionobserver.d.ts +1 -1
  188. package/src/view/observer/compositionobserver.js +1 -1
  189. package/src/view/observer/domeventdata.d.ts +1 -1
  190. package/src/view/observer/domeventdata.js +1 -1
  191. package/src/view/observer/domeventobserver.d.ts +1 -1
  192. package/src/view/observer/domeventobserver.js +1 -1
  193. package/src/view/observer/fakeselectionobserver.d.ts +1 -1
  194. package/src/view/observer/fakeselectionobserver.js +1 -1
  195. package/src/view/observer/focusobserver.d.ts +1 -1
  196. package/src/view/observer/focusobserver.js +1 -1
  197. package/src/view/observer/inputobserver.d.ts +1 -1
  198. package/src/view/observer/inputobserver.js +1 -1
  199. package/src/view/observer/keyobserver.d.ts +1 -1
  200. package/src/view/observer/keyobserver.js +1 -1
  201. package/src/view/observer/mouseobserver.d.ts +1 -1
  202. package/src/view/observer/mouseobserver.js +1 -1
  203. package/src/view/observer/mutationobserver.d.ts +1 -1
  204. package/src/view/observer/mutationobserver.js +1 -1
  205. package/src/view/observer/observer.d.ts +1 -1
  206. package/src/view/observer/observer.js +1 -1
  207. package/src/view/observer/pointerobserver.d.ts +1 -1
  208. package/src/view/observer/pointerobserver.js +1 -1
  209. package/src/view/observer/selectionobserver.d.ts +1 -1
  210. package/src/view/observer/selectionobserver.js +1 -1
  211. package/src/view/observer/tabobserver.d.ts +1 -1
  212. package/src/view/observer/tabobserver.js +1 -1
  213. package/src/view/observer/touchobserver.d.ts +1 -1
  214. package/src/view/observer/touchobserver.js +1 -1
  215. package/src/view/placeholder.d.ts +1 -1
  216. package/src/view/placeholder.js +1 -1
  217. package/src/view/position.d.ts +1 -1
  218. package/src/view/position.js +1 -1
  219. package/src/view/range.d.ts +1 -1
  220. package/src/view/range.js +1 -1
  221. package/src/view/rawelement.d.ts +1 -1
  222. package/src/view/rawelement.js +1 -1
  223. package/src/view/renderer.d.ts +1 -1
  224. package/src/view/renderer.js +1 -1
  225. package/src/view/rooteditableelement.d.ts +1 -1
  226. package/src/view/rooteditableelement.js +1 -1
  227. package/src/view/selection.d.ts +1 -1
  228. package/src/view/selection.js +1 -1
  229. package/src/view/styles/background.d.ts +1 -1
  230. package/src/view/styles/background.js +1 -1
  231. package/src/view/styles/border.d.ts +1 -1
  232. package/src/view/styles/border.js +1 -1
  233. package/src/view/styles/margin.d.ts +1 -1
  234. package/src/view/styles/margin.js +1 -1
  235. package/src/view/styles/padding.d.ts +1 -1
  236. package/src/view/styles/padding.js +1 -1
  237. package/src/view/styles/utils.d.ts +1 -1
  238. package/src/view/styles/utils.js +1 -1
  239. package/src/view/stylesmap.d.ts +1 -1
  240. package/src/view/stylesmap.js +1 -1
  241. package/src/view/text.d.ts +1 -1
  242. package/src/view/text.js +1 -1
  243. package/src/view/textproxy.d.ts +1 -1
  244. package/src/view/textproxy.js +1 -1
  245. package/src/view/tokenlist.d.ts +1 -1
  246. package/src/view/tokenlist.js +1 -1
  247. package/src/view/treewalker.d.ts +1 -1
  248. package/src/view/treewalker.js +1 -1
  249. package/src/view/typecheckable.d.ts +1 -1
  250. package/src/view/typecheckable.js +1 -1
  251. package/src/view/uielement.d.ts +1 -1
  252. package/src/view/uielement.js +1 -1
  253. package/src/view/upcastwriter.d.ts +1 -1
  254. package/src/view/upcastwriter.js +1 -1
  255. package/src/view/view.d.ts +1 -1
  256. package/src/view/view.js +1 -1
  257. package/theme/placeholder.css +1 -1
  258. package/theme/renderer.css +1 -1
package/LICENSE.md CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
2
2
  ==========================
3
3
 
4
4
  **CKEditor&nbsp;5 Editing engine** (https://github.com/ckeditor/ckeditor5)<br>
5
- Copyright (c) 2003–2025, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
5
+ Copyright (c) 2003–2026, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under a dual-license model, this software is available under:
8
8
 
@@ -1,4 +1,4 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  .ck.ck-placeholder,
package/dist/index.css CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /*
6
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  /*
40
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
40
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
41
41
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
42
42
  */
43
43
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/placeholder.css","index.css","../theme/renderer.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,CAAgC;AAChC,CAAA,EAAA,CAAA,EAAA,CAAA,WAAA;ACCA,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC;AACpB,CDAC,QAAA,CAAA,CAAA,QAAkB;AAWnB;AATC,CAAA,EAAA,CAAA,EAAA,CAAA,WAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,WAAA,CAAA,CAAA,MAAA,CAAA;ACCD,CAAC,CDAC,QAAA,CAAA,CAAA,QAAkB;ACCpB,CAAC,CDAC,IAAA,CAAA,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AAA,WAAA,CAAA;ACFA,CDGC,QAAA,CAAA,CAAA,QAAkB;AACnB;;AEnCA,CAAA;ADmCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CClCC;;AAEF,CAAA,CAAA,CAAA,QAAA,CAAA,MAAA,CAAA,EAAA,CAAA,GAAA,CAAA,QAAA,CAAA,EAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,GAAA,CAAA,MAAA,CAAA,CAAA,CAAiF;AACjF,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA,MAAA,CAAA,OAAA,CAAA,CAAA;ADmCA,CClCC,OAAA,CAAA,CAAA,IAAa;AACd;;ADoCA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n}\n.ck.ck-placeholder::before, .ck .ck-placeholder::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder::before {\n\t\tdisplay: none;\n\t}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n\n/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"]}
1
+ {"version":3,"sources":["../theme/placeholder.css","index.css","../theme/renderer.css"],"names":[],"mappings":";;;;AAAA,CAAA;ACCA,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CDAC;;AAEF,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,CAAgC;AAChC,CAAA,EAAA,CAAA,EAAA,CAAA,WAAA;ACCA,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC;AACpB,CDAC,QAAA,CAAA,CAAA,QAAkB;AAWnB;AATC,CAAA,EAAA,CAAA,EAAA,CAAA,WAAA,CAAA,CAAA,MAAA,CAAA,CAAA,CAAA,EAAA,CAAA,CAAA,EAAA,CAAA,WAAA,CAAA,CAAA,MAAA,CAAA;ACCD,CAAC,CDAC,QAAA,CAAA,CAAA,QAAkB;ACCpB,CAAC,CDAC,IAAA,CAAA,CAAA,CAAO;ACCT,CAAC,CDAC,KAAA,CAAA,CAAA,CAAQ;ACCV,CAAC,CDAC,OAAA,CAAA,CAAA,IAAA,CAAA,IAAA,CAAA,WAAA,CAA+B;;ACEjC,CAAC,CDAC,CAAA,CAAA,CAAA,GAAA,CAAA,QAAA,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CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ;AAC3E,CAAC,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC;AAClF,CAAC,CClCC;;AAEF,CAAA,CAAA,CAAA,QAAA,CAAA,MAAA,CAAA,EAAA,CAAA,GAAA,CAAA,QAAA,CAAA,EAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,GAAA,CAAA,MAAA,CAAA,CAAA,CAAiF;AACjF,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,IAAA,CAAA,IAAA,CAAA,EAAA,CAAA,MAAA,CAAA,OAAA,CAAA,CAAA;ADmCA,CClCC,OAAA,CAAA,CAAA,IAAa;AACd;;ADoCA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n}\n.ck.ck-placeholder::before, .ck .ck-placeholder::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder::before {\n\t\tdisplay: none;\n\t}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n\n/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"]}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { logWarning, EmitterMixin, CKEditorError, compareArrays, toArray, toMap, isIterable, ObservableMixin, count, EventInfo, Collection, keyCodes, isText, env, remove as remove$1, insertAt, diff, fastDiff, isNode, isComment, indexOf, global, isValidAttributeName, first, getAncestors, DomEmitterMixin, getCode, isArrowKeyCode, scrollViewportToShowTarget, uid, spliceArray, priorities, isInsideSurrogatePair, isInsideCombinedSymbol, isInsideEmojiSequence } from '@ckeditor/ckeditor5-utils/dist/index.js';
@@ -277,7 +277,7 @@ let hasDisplayedPlaceholderDeprecationWarning = false;
277
277
  }
278
278
 
279
279
  /**
280
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
280
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
281
281
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
282
282
  */ /**
283
283
  * @module engine/view/typecheckable
@@ -12189,7 +12189,7 @@ function sameNodes(child1, child2) {
12189
12189
  }
12190
12190
 
12191
12191
  /**
12192
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
12192
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
12193
12193
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
12194
12194
  */ /**
12195
12195
  * @module engine/view/datatransfer
@@ -13083,7 +13083,7 @@ function getFiles(nativeDataTransfer) {
13083
13083
  }
13084
13084
 
13085
13085
  /**
13086
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
13086
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
13087
13087
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
13088
13088
  */ /**
13089
13089
  * @module engine/model/typecheckable
@@ -17242,7 +17242,11 @@ ModelRange.prototype.is = function(type) {
17242
17242
  const hasCustomHandling = ancestors.some((element)=>{
17243
17243
  if (range.containsItem(element)) {
17244
17244
  const viewElement = mapper.toViewElement(element);
17245
- return !!viewElement.getCustomProperty('addHighlight');
17245
+ if (viewElement) {
17246
+ return !!viewElement.getCustomProperty('addHighlight');
17247
+ } else {
17248
+ return false;
17249
+ }
17246
17250
  }
17247
17251
  });
17248
17252
  return !hasCustomHandling;
@@ -20031,7 +20035,7 @@ function cloneNodes(nodes) {
20031
20035
  }
20032
20036
 
20033
20037
  /**
20034
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
20038
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
20035
20039
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
20036
20040
  */ /**
20037
20041
  * @module engine/conversion/conversionhelpers
@@ -22182,7 +22186,7 @@ function getFromAttributeCreator(config) {
22182
22186
  }
22183
22187
 
22184
22188
  /**
22185
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
22189
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
22186
22190
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
22187
22191
  */ /**
22188
22192
  * @module engine/model/utils/autoparagraphing
@@ -26614,7 +26618,7 @@ function* _getUpcastDefinition(model, view, upcastAlso) {
26614
26618
  }
26615
26619
 
26616
26620
  /**
26617
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
26621
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
26618
26622
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
26619
26623
  */ /* eslint-disable @typescript-eslint/no-unused-vars */ /**
26620
26624
  * @module engine/model/operation/operation
@@ -30003,7 +30007,7 @@ setTransformation(RenameOperation, SplitOperation, (a, b)=>{
30003
30007
  // -----------------------
30004
30008
  setTransformation(RootAttributeOperation, RootAttributeOperation, (a, b, context)=>{
30005
30009
  if (a.root === b.root && a.key === b.key) {
30006
- if (!context.aIsStrong || a.newValue === b.newValue) {
30010
+ if (!context.aIsStrong) {
30007
30011
  return [
30008
30012
  new NoOperation(0)
30009
30013
  ];
@@ -35140,7 +35144,7 @@ function replaceEntireContentWithParagraph(writer, selection) {
35140
35144
  }
35141
35145
 
35142
35146
  /**
35143
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
35147
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
35144
35148
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
35145
35149
  */ /**
35146
35150
  * @module engine/model/utils/getselectedcontent
@@ -37485,7 +37489,7 @@ function getSearchRange(start, isForward) {
37485
37489
  }
37486
37490
 
37487
37491
  /**
37488
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
37492
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
37489
37493
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
37490
37494
  */ /**
37491
37495
  * @module engine/view/styles/utils
@@ -39749,7 +39753,7 @@ function* convertAttributes(attributes, converter) {
39749
39753
  }
39750
39754
 
39751
39755
  /**
39752
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
39756
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
39753
39757
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
39754
39758
  */ /**
39755
39759
  * Note: This package is used only internally for debugging purposes and should not be used