@ckeditor/ckeditor5-engine 0.0.0-internal-20241017.0 → 0.0.0-internal-20241206.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 (366) hide show
  1. package/LICENSE.md +7 -2
  2. package/README.md +18 -7
  3. package/dist/index.css +2 -2
  4. package/dist/index.css.map +1 -1
  5. package/dist/index.js +12428 -13003
  6. package/dist/index.js.map +1 -1
  7. package/package.json +21 -4
  8. package/src/controller/datacontroller.d.ts +1 -1
  9. package/src/controller/datacontroller.js +1 -1
  10. package/src/controller/editingcontroller.d.ts +1 -1
  11. package/src/controller/editingcontroller.js +1 -1
  12. package/src/conversion/conversion.d.ts +1 -1
  13. package/src/conversion/conversion.js +1 -1
  14. package/src/conversion/conversionhelpers.d.ts +1 -1
  15. package/src/conversion/conversionhelpers.js +1 -1
  16. package/src/conversion/downcastdispatcher.d.ts +1 -1
  17. package/src/conversion/downcastdispatcher.js +5 -7
  18. package/src/conversion/downcasthelpers.d.ts +1 -1
  19. package/src/conversion/downcasthelpers.js +1 -1
  20. package/src/conversion/mapper.d.ts +1 -1
  21. package/src/conversion/mapper.js +27 -22
  22. package/src/conversion/modelconsumable.d.ts +1 -1
  23. package/src/conversion/modelconsumable.js +1 -1
  24. package/src/conversion/upcastdispatcher.d.ts +1 -1
  25. package/src/conversion/upcastdispatcher.js +14 -8
  26. package/src/conversion/upcasthelpers.d.ts +1 -1
  27. package/src/conversion/upcasthelpers.js +1 -1
  28. package/src/conversion/viewconsumable.d.ts +1 -1
  29. package/src/conversion/viewconsumable.js +1 -1
  30. package/src/dataprocessor/basichtmlwriter.d.ts +1 -1
  31. package/src/dataprocessor/basichtmlwriter.js +1 -1
  32. package/src/dataprocessor/dataprocessor.d.ts +1 -1
  33. package/src/dataprocessor/dataprocessor.js +1 -1
  34. package/src/dataprocessor/htmldataprocessor.d.ts +1 -1
  35. package/src/dataprocessor/htmldataprocessor.js +1 -1
  36. package/src/dataprocessor/htmlwriter.d.ts +1 -1
  37. package/src/dataprocessor/htmlwriter.js +1 -1
  38. package/src/dataprocessor/xmldataprocessor.d.ts +1 -1
  39. package/src/dataprocessor/xmldataprocessor.js +1 -1
  40. package/src/dev-utils/model.d.ts +1 -1
  41. package/src/dev-utils/model.js +1 -1
  42. package/src/dev-utils/operationreplayer.d.ts +1 -1
  43. package/src/dev-utils/operationreplayer.js +1 -1
  44. package/src/dev-utils/utils.d.ts +1 -1
  45. package/src/dev-utils/utils.js +1 -1
  46. package/src/dev-utils/view.d.ts +1 -1
  47. package/src/dev-utils/view.js +1 -1
  48. package/src/index.d.ts +2 -2
  49. package/src/index.js +1 -1
  50. package/src/model/batch.d.ts +1 -1
  51. package/src/model/batch.js +1 -1
  52. package/src/model/differ.d.ts +1 -1
  53. package/src/model/differ.js +1 -1
  54. package/src/model/document.d.ts +1 -1
  55. package/src/model/document.js +3 -2
  56. package/src/model/documentfragment.d.ts +21 -2
  57. package/src/model/documentfragment.js +30 -4
  58. package/src/model/documentselection.d.ts +1 -1
  59. package/src/model/documentselection.js +1 -1
  60. package/src/model/element.d.ts +24 -2
  61. package/src/model/element.js +51 -13
  62. package/src/model/history.d.ts +1 -1
  63. package/src/model/history.js +1 -1
  64. package/src/model/item.d.ts +1 -1
  65. package/src/model/item.js +1 -1
  66. package/src/model/liveposition.d.ts +1 -1
  67. package/src/model/liveposition.js +1 -1
  68. package/src/model/liverange.d.ts +1 -1
  69. package/src/model/liverange.js +1 -1
  70. package/src/model/markercollection.d.ts +1 -1
  71. package/src/model/markercollection.js +1 -1
  72. package/src/model/model.d.ts +1 -1
  73. package/src/model/model.js +1 -1
  74. package/src/model/node.d.ts +21 -18
  75. package/src/model/node.js +25 -31
  76. package/src/model/nodelist.d.ts +33 -9
  77. package/src/model/nodelist.js +105 -31
  78. package/src/model/operation/attributeoperation.d.ts +1 -1
  79. package/src/model/operation/attributeoperation.js +1 -1
  80. package/src/model/operation/detachoperation.d.ts +1 -1
  81. package/src/model/operation/detachoperation.js +1 -1
  82. package/src/model/operation/insertoperation.d.ts +1 -1
  83. package/src/model/operation/insertoperation.js +1 -1
  84. package/src/model/operation/markeroperation.d.ts +1 -1
  85. package/src/model/operation/markeroperation.js +1 -1
  86. package/src/model/operation/mergeoperation.d.ts +1 -1
  87. package/src/model/operation/mergeoperation.js +1 -1
  88. package/src/model/operation/moveoperation.d.ts +1 -1
  89. package/src/model/operation/moveoperation.js +1 -1
  90. package/src/model/operation/nooperation.d.ts +1 -1
  91. package/src/model/operation/nooperation.js +1 -1
  92. package/src/model/operation/operation.d.ts +1 -1
  93. package/src/model/operation/operation.js +1 -1
  94. package/src/model/operation/operationfactory.d.ts +1 -1
  95. package/src/model/operation/operationfactory.js +1 -1
  96. package/src/model/operation/renameoperation.d.ts +1 -1
  97. package/src/model/operation/renameoperation.js +1 -1
  98. package/src/model/operation/rootattributeoperation.d.ts +1 -1
  99. package/src/model/operation/rootattributeoperation.js +1 -1
  100. package/src/model/operation/rootoperation.d.ts +1 -1
  101. package/src/model/operation/rootoperation.js +1 -1
  102. package/src/model/operation/splitoperation.d.ts +1 -1
  103. package/src/model/operation/splitoperation.js +1 -1
  104. package/src/model/operation/transform.d.ts +1 -1
  105. package/src/model/operation/transform.js +1 -1
  106. package/src/model/operation/utils.d.ts +1 -1
  107. package/src/model/operation/utils.js +1 -1
  108. package/src/model/position.d.ts +10 -3
  109. package/src/model/position.js +27 -8
  110. package/src/model/range.d.ts +1 -1
  111. package/src/model/range.js +1 -1
  112. package/src/model/rootelement.d.ts +1 -1
  113. package/src/model/rootelement.js +1 -1
  114. package/src/model/schema.d.ts +1 -1
  115. package/src/model/schema.js +1 -1
  116. package/src/model/selection.d.ts +1 -1
  117. package/src/model/selection.js +1 -1
  118. package/src/model/text.d.ts +1 -1
  119. package/src/model/text.js +1 -1
  120. package/src/model/textproxy.d.ts +1 -1
  121. package/src/model/textproxy.js +1 -1
  122. package/src/model/treewalker.d.ts +1 -1
  123. package/src/model/treewalker.js +5 -10
  124. package/src/model/typecheckable.d.ts +1 -1
  125. package/src/model/typecheckable.js +1 -1
  126. package/src/model/utils/autoparagraphing.d.ts +1 -1
  127. package/src/model/utils/autoparagraphing.js +1 -1
  128. package/src/model/utils/deletecontent.d.ts +1 -1
  129. package/src/model/utils/deletecontent.js +1 -1
  130. package/src/model/utils/getselectedcontent.d.ts +1 -1
  131. package/src/model/utils/getselectedcontent.js +1 -1
  132. package/src/model/utils/insertcontent.d.ts +1 -1
  133. package/src/model/utils/insertcontent.js +1 -1
  134. package/src/model/utils/insertobject.d.ts +1 -1
  135. package/src/model/utils/insertobject.js +1 -1
  136. package/src/model/utils/modifyselection.d.ts +1 -1
  137. package/src/model/utils/modifyselection.js +1 -1
  138. package/src/model/utils/selection-post-fixer.d.ts +1 -1
  139. package/src/model/utils/selection-post-fixer.js +1 -1
  140. package/src/model/writer.d.ts +1 -1
  141. package/src/model/writer.js +5 -2
  142. package/src/view/attributeelement.d.ts +1 -1
  143. package/src/view/attributeelement.js +1 -1
  144. package/src/view/containerelement.d.ts +1 -1
  145. package/src/view/containerelement.js +1 -1
  146. package/src/view/datatransfer.d.ts +1 -1
  147. package/src/view/datatransfer.js +1 -1
  148. package/src/view/document.d.ts +1 -1
  149. package/src/view/document.js +1 -1
  150. package/src/view/documentfragment.d.ts +1 -1
  151. package/src/view/documentfragment.js +1 -1
  152. package/src/view/documentselection.d.ts +1 -1
  153. package/src/view/documentselection.js +1 -1
  154. package/src/view/domconverter.d.ts +1 -1
  155. package/src/view/domconverter.js +1 -1
  156. package/src/view/downcastwriter.d.ts +1 -1
  157. package/src/view/downcastwriter.js +3 -3
  158. package/src/view/editableelement.d.ts +1 -1
  159. package/src/view/editableelement.js +1 -1
  160. package/src/view/element.d.ts +1 -1
  161. package/src/view/element.js +11 -9
  162. package/src/view/elementdefinition.d.ts +1 -1
  163. package/src/view/elementdefinition.js +1 -1
  164. package/src/view/emptyelement.d.ts +1 -1
  165. package/src/view/emptyelement.js +1 -1
  166. package/src/view/filler.d.ts +1 -1
  167. package/src/view/filler.js +1 -1
  168. package/src/view/item.d.ts +1 -1
  169. package/src/view/item.js +1 -1
  170. package/src/view/matcher.d.ts +1 -1
  171. package/src/view/matcher.js +21 -16
  172. package/src/view/node.d.ts +1 -1
  173. package/src/view/node.js +1 -1
  174. package/src/view/observer/arrowkeysobserver.d.ts +1 -1
  175. package/src/view/observer/arrowkeysobserver.js +1 -1
  176. package/src/view/observer/bubblingemittermixin.d.ts +1 -1
  177. package/src/view/observer/bubblingemittermixin.js +1 -1
  178. package/src/view/observer/bubblingeventinfo.d.ts +1 -1
  179. package/src/view/observer/bubblingeventinfo.js +1 -1
  180. package/src/view/observer/clickobserver.d.ts +1 -1
  181. package/src/view/observer/clickobserver.js +1 -1
  182. package/src/view/observer/compositionobserver.d.ts +1 -1
  183. package/src/view/observer/compositionobserver.js +1 -1
  184. package/src/view/observer/domeventdata.d.ts +1 -1
  185. package/src/view/observer/domeventdata.js +1 -1
  186. package/src/view/observer/domeventobserver.d.ts +1 -1
  187. package/src/view/observer/domeventobserver.js +1 -1
  188. package/src/view/observer/fakeselectionobserver.d.ts +1 -1
  189. package/src/view/observer/fakeselectionobserver.js +1 -1
  190. package/src/view/observer/focusobserver.d.ts +1 -1
  191. package/src/view/observer/focusobserver.js +1 -1
  192. package/src/view/observer/inputobserver.d.ts +1 -1
  193. package/src/view/observer/inputobserver.js +1 -1
  194. package/src/view/observer/keyobserver.d.ts +1 -1
  195. package/src/view/observer/keyobserver.js +1 -1
  196. package/src/view/observer/mouseobserver.d.ts +1 -1
  197. package/src/view/observer/mouseobserver.js +1 -1
  198. package/src/view/observer/mutationobserver.d.ts +1 -1
  199. package/src/view/observer/mutationobserver.js +1 -1
  200. package/src/view/observer/observer.d.ts +1 -1
  201. package/src/view/observer/observer.js +1 -1
  202. package/src/view/observer/selectionobserver.d.ts +1 -1
  203. package/src/view/observer/selectionobserver.js +1 -1
  204. package/src/view/observer/tabobserver.d.ts +1 -1
  205. package/src/view/observer/tabobserver.js +1 -1
  206. package/src/view/placeholder.d.ts +1 -1
  207. package/src/view/placeholder.js +1 -1
  208. package/src/view/position.d.ts +1 -1
  209. package/src/view/position.js +1 -1
  210. package/src/view/range.d.ts +1 -1
  211. package/src/view/range.js +1 -1
  212. package/src/view/rawelement.d.ts +1 -1
  213. package/src/view/rawelement.js +1 -1
  214. package/src/view/renderer.d.ts +1 -1
  215. package/src/view/renderer.js +4 -2
  216. package/src/view/rooteditableelement.d.ts +1 -1
  217. package/src/view/rooteditableelement.js +1 -1
  218. package/src/view/selection.d.ts +1 -1
  219. package/src/view/selection.js +1 -1
  220. package/src/view/styles/background.d.ts +1 -1
  221. package/src/view/styles/background.js +1 -1
  222. package/src/view/styles/border.d.ts +1 -1
  223. package/src/view/styles/border.js +1 -1
  224. package/src/view/styles/margin.d.ts +1 -1
  225. package/src/view/styles/margin.js +1 -1
  226. package/src/view/styles/padding.d.ts +1 -1
  227. package/src/view/styles/padding.js +1 -1
  228. package/src/view/styles/utils.d.ts +1 -1
  229. package/src/view/styles/utils.js +1 -1
  230. package/src/view/stylesmap.d.ts +9 -1
  231. package/src/view/stylesmap.js +19 -4
  232. package/src/view/text.d.ts +1 -1
  233. package/src/view/text.js +1 -1
  234. package/src/view/textproxy.d.ts +1 -1
  235. package/src/view/textproxy.js +1 -1
  236. package/src/view/treewalker.d.ts +1 -1
  237. package/src/view/treewalker.js +38 -43
  238. package/src/view/typecheckable.d.ts +1 -1
  239. package/src/view/typecheckable.js +1 -1
  240. package/src/view/uielement.d.ts +1 -1
  241. package/src/view/uielement.js +1 -1
  242. package/src/view/upcastwriter.d.ts +1 -1
  243. package/src/view/upcastwriter.js +1 -1
  244. package/src/view/view.d.ts +1 -1
  245. package/src/view/view.js +1 -1
  246. package/theme/placeholder.css +1 -1
  247. package/theme/renderer.css +1 -1
  248. package/dist/controller/datacontroller.d.ts +0 -339
  249. package/dist/controller/editingcontroller.d.ts +0 -102
  250. package/dist/conversion/conversion.d.ts +0 -482
  251. package/dist/conversion/conversionhelpers.d.ts +0 -30
  252. package/dist/conversion/downcastdispatcher.d.ts +0 -566
  253. package/dist/conversion/downcasthelpers.d.ts +0 -1194
  254. package/dist/conversion/mapper.d.ts +0 -507
  255. package/dist/conversion/modelconsumable.d.ts +0 -205
  256. package/dist/conversion/upcastdispatcher.d.ts +0 -496
  257. package/dist/conversion/upcasthelpers.d.ts +0 -503
  258. package/dist/conversion/viewconsumable.d.ts +0 -373
  259. package/dist/dataprocessor/basichtmlwriter.d.ts +0 -22
  260. package/dist/dataprocessor/dataprocessor.d.ts +0 -65
  261. package/dist/dataprocessor/htmldataprocessor.d.ts +0 -80
  262. package/dist/dataprocessor/htmlwriter.d.ts +0 -20
  263. package/dist/dataprocessor/xmldataprocessor.d.ts +0 -94
  264. package/dist/dev-utils/model.d.ts +0 -130
  265. package/dist/dev-utils/operationreplayer.d.ts +0 -55
  266. package/dist/dev-utils/utils.d.ts +0 -41
  267. package/dist/dev-utils/view.d.ts +0 -324
  268. package/dist/index.d.ts +0 -122
  269. package/dist/model/batch.d.ts +0 -110
  270. package/dist/model/differ.d.ts +0 -511
  271. package/dist/model/document.d.ts +0 -278
  272. package/dist/model/documentfragment.d.ts +0 -204
  273. package/dist/model/documentselection.d.ts +0 -424
  274. package/dist/model/element.d.ts +0 -169
  275. package/dist/model/history.d.ts +0 -118
  276. package/dist/model/item.d.ts +0 -18
  277. package/dist/model/liveposition.d.ts +0 -81
  278. package/dist/model/liverange.d.ts +0 -106
  279. package/dist/model/markercollection.d.ts +0 -339
  280. package/dist/model/model.d.ts +0 -923
  281. package/dist/model/node.d.ts +0 -259
  282. package/dist/model/nodelist.d.ts +0 -95
  283. package/dist/model/operation/attributeoperation.d.ts +0 -107
  284. package/dist/model/operation/detachoperation.d.ts +0 -64
  285. package/dist/model/operation/insertoperation.d.ts +0 -94
  286. package/dist/model/operation/markeroperation.d.ts +0 -95
  287. package/dist/model/operation/mergeoperation.d.ts +0 -104
  288. package/dist/model/operation/moveoperation.d.ts +0 -100
  289. package/dist/model/operation/nooperation.d.ts +0 -42
  290. package/dist/model/operation/operation.d.ts +0 -100
  291. package/dist/model/operation/operationfactory.d.ts +0 -22
  292. package/dist/model/operation/renameoperation.d.ts +0 -87
  293. package/dist/model/operation/rootattributeoperation.d.ts +0 -102
  294. package/dist/model/operation/rootoperation.d.ts +0 -80
  295. package/dist/model/operation/splitoperation.d.ts +0 -113
  296. package/dist/model/operation/transform.d.ts +0 -104
  297. package/dist/model/operation/utils.d.ts +0 -75
  298. package/dist/model/position.d.ts +0 -542
  299. package/dist/model/range.d.ts +0 -462
  300. package/dist/model/rootelement.d.ts +0 -64
  301. package/dist/model/schema.d.ts +0 -1334
  302. package/dist/model/selection.d.ts +0 -486
  303. package/dist/model/text.d.ts +0 -70
  304. package/dist/model/textproxy.d.ts +0 -148
  305. package/dist/model/treewalker.d.ts +0 -190
  306. package/dist/model/typecheckable.d.ts +0 -289
  307. package/dist/model/utils/autoparagraphing.d.ts +0 -41
  308. package/dist/model/utils/deletecontent.d.ts +0 -62
  309. package/dist/model/utils/getselectedcontent.d.ts +0 -34
  310. package/dist/model/utils/insertcontent.d.ts +0 -50
  311. package/dist/model/utils/insertobject.d.ts +0 -51
  312. package/dist/model/utils/modifyselection.d.ts +0 -52
  313. package/dist/model/utils/selection-post-fixer.d.ts +0 -78
  314. package/dist/model/writer.d.ts +0 -855
  315. package/dist/view/attributeelement.d.ts +0 -112
  316. package/dist/view/containerelement.d.ts +0 -53
  317. package/dist/view/datatransfer.d.ts +0 -83
  318. package/dist/view/document.d.ts +0 -188
  319. package/dist/view/documentfragment.d.ts +0 -157
  320. package/dist/view/documentselection.d.ts +0 -310
  321. package/dist/view/domconverter.d.ts +0 -665
  322. package/dist/view/downcastwriter.d.ts +0 -1000
  323. package/dist/view/editableelement.d.ts +0 -66
  324. package/dist/view/element.d.ts +0 -472
  325. package/dist/view/elementdefinition.d.ts +0 -91
  326. package/dist/view/emptyelement.d.ts +0 -45
  327. package/dist/view/filler.d.ts +0 -115
  328. package/dist/view/item.d.ts +0 -18
  329. package/dist/view/matcher.d.ts +0 -490
  330. package/dist/view/node.d.ts +0 -166
  331. package/dist/view/observer/arrowkeysobserver.d.ts +0 -49
  332. package/dist/view/observer/bubblingemittermixin.d.ts +0 -170
  333. package/dist/view/observer/bubblingeventinfo.d.ts +0 -51
  334. package/dist/view/observer/clickobserver.d.ts +0 -47
  335. package/dist/view/observer/compositionobserver.d.ts +0 -86
  336. package/dist/view/observer/domeventdata.d.ts +0 -54
  337. package/dist/view/observer/domeventobserver.d.ts +0 -82
  338. package/dist/view/observer/fakeselectionobserver.d.ts +0 -51
  339. package/dist/view/observer/focusobserver.d.ts +0 -98
  340. package/dist/view/observer/inputobserver.d.ts +0 -90
  341. package/dist/view/observer/keyobserver.d.ts +0 -70
  342. package/dist/view/observer/mouseobserver.d.ts +0 -93
  343. package/dist/view/observer/mutationobserver.d.ts +0 -119
  344. package/dist/view/observer/observer.d.ts +0 -93
  345. package/dist/view/observer/selectionobserver.d.ts +0 -151
  346. package/dist/view/observer/tabobserver.d.ts +0 -50
  347. package/dist/view/placeholder.d.ts +0 -100
  348. package/dist/view/position.d.ts +0 -192
  349. package/dist/view/range.d.ts +0 -283
  350. package/dist/view/rawelement.d.ts +0 -77
  351. package/dist/view/renderer.d.ts +0 -281
  352. package/dist/view/rooteditableelement.d.ts +0 -45
  353. package/dist/view/selection.d.ts +0 -379
  354. package/dist/view/styles/background.d.ts +0 -37
  355. package/dist/view/styles/border.d.ts +0 -47
  356. package/dist/view/styles/margin.d.ts +0 -33
  357. package/dist/view/styles/padding.d.ts +0 -33
  358. package/dist/view/styles/utils.d.ts +0 -97
  359. package/dist/view/stylesmap.d.ts +0 -677
  360. package/dist/view/text.d.ts +0 -78
  361. package/dist/view/textproxy.d.ts +0 -101
  362. package/dist/view/treewalker.d.ts +0 -199
  363. package/dist/view/typecheckable.d.ts +0 -452
  364. package/dist/view/uielement.d.ts +0 -100
  365. package/dist/view/upcastwriter.d.ts +0 -421
  366. package/dist/view/view.d.ts +0 -488
package/LICENSE.md CHANGED
@@ -1,10 +1,15 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor&nbsp;5 editing engine** – https://github.com/ckeditor/ckeditor5-engine <br>
4
+ **CKEditor&nbsp;5 Editing engine** (https://github.com/ckeditor/ckeditor5)<br>
5
5
  Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
- Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
7
+ Licensed under a dual-license model, this software is available under:
8
+
9
+ * the [GNU General Public License Version 2 or later](https://www.gnu.org/licenses/gpl.html),
10
+ * or commercial license terms from CKSource Holding sp. z o.o.
11
+
12
+ For more information, see: [https://ckeditor.com/legal/ckeditor-licensing-options](https://ckeditor.com/legal/ckeditor-licensing-options).
8
13
 
9
14
  Sources of Intellectual Property Included in CKEditor
10
15
  -----------------------------------------------------
package/README.md CHANGED
@@ -3,10 +3,22 @@ CKEditor&nbsp;5 editing engine
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-engine.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-engine)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
- [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
6
+ [![CircleCI](https://circleci.com/gh/ckeditor/ckeditor5.svg?style=shield)](https://app.circleci.com/pipelines/github/ckeditor/ckeditor5?branch=master)
7
7
 
8
8
  The CKEditor&nbsp;5 editing engine implements a flexible MVC-based architecture for creating rich text editing features.
9
9
 
10
+ ## Installation
11
+
12
+ This plugin is part of the `ckeditor5` package. Install the whole package to use it.
13
+
14
+ ```bash
15
+ npm install ckeditor5
16
+ ```
17
+
18
+ ## Create free account
19
+
20
+ If you want to check full CKEditor&nbsp;5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
21
+
10
22
  ## Architecture overview
11
23
 
12
24
  * **Custom data model.** CKEditor&nbsp;5 implements a tree-structured custom data model, designed to fit multiple requirements such as enabling real-time collaboration and complex editing features (like tables or nested blocks).
@@ -25,12 +37,11 @@ For a general introduction see the [Overview of CKEditor&nbsp;5 Framework](https
25
37
 
26
38
  Additionally, refer to the [`@ckeditor/ckeditor5-engine` package](https://ckeditor.com/docs/ckeditor5/latest/api/engine.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) for even more information.
27
39
 
28
- ## Installation
40
+ ## License
29
41
 
30
- ```bash
31
- npm install ckeditor5
32
- ```
42
+ Licensed under a dual-license model, this software is available under:
33
43
 
34
- ## License
44
+ * the [GNU General Public License Version 2 or later](https://www.gnu.org/licenses/gpl.html),
45
+ * or commercial license terms from CKSource Holding sp. z o.o.
35
46
 
36
- Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
47
+ For more information, see: [https://ckeditor.com/legal/ckeditor-licensing-options](https://ckeditor.com/legal/ckeditor-licensing-options).
package/dist/index.css CHANGED
@@ -4,7 +4,7 @@
4
4
  */
5
5
  /*
6
6
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
10
10
  /* See ckeditor/ckeditor5#936. */
@@ -38,7 +38,7 @@
38
38
 
39
39
  /*
40
40
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
41
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
41
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
42
42
  */
43
43
 
44
44
  /* Elements marked by the Renderer as hidden should be invisible in the editor. */
@@ -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,GAAG,CAAC;AAC5E,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,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AAQ,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,GAAG,CAAC;AAC5E,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-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\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-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\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-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\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-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\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":[],"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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-2024, 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-2024, 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-2024, 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-2024, 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"]}