@ckeditor/ckeditor5-core 27.1.0 → 29.2.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 (75) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +3 -3
  3. package/lang/contexts.json +5 -2
  4. package/lang/translations/af.po +16 -4
  5. package/lang/translations/ar.po +16 -4
  6. package/lang/translations/ast.po +16 -4
  7. package/lang/translations/az.po +16 -4
  8. package/lang/translations/bg.po +16 -4
  9. package/lang/translations/ca.po +16 -4
  10. package/lang/translations/cs.po +16 -4
  11. package/lang/translations/da.po +16 -4
  12. package/lang/translations/de-ch.po +16 -4
  13. package/lang/translations/de.po +16 -4
  14. package/lang/translations/el.po +16 -4
  15. package/lang/translations/en-au.po +16 -4
  16. package/lang/translations/en-gb.po +16 -4
  17. package/lang/translations/en.po +16 -4
  18. package/lang/translations/eo.po +16 -4
  19. package/lang/translations/es.po +17 -5
  20. package/lang/translations/et.po +16 -4
  21. package/lang/translations/eu.po +16 -4
  22. package/lang/translations/fa.po +16 -4
  23. package/lang/translations/fi.po +16 -4
  24. package/lang/translations/fr.po +16 -4
  25. package/lang/translations/gl.po +16 -4
  26. package/lang/translations/he.po +16 -4
  27. package/lang/translations/hi.po +16 -4
  28. package/lang/translations/hr.po +16 -4
  29. package/lang/translations/hu.po +16 -4
  30. package/lang/translations/id.po +16 -4
  31. package/lang/translations/it.po +16 -4
  32. package/lang/translations/ja.po +16 -4
  33. package/lang/translations/km.po +16 -4
  34. package/lang/translations/kn.po +16 -4
  35. package/lang/translations/ko.po +16 -4
  36. package/lang/translations/ku.po +16 -4
  37. package/lang/translations/lt.po +16 -4
  38. package/lang/translations/lv.po +16 -4
  39. package/lang/translations/nb.po +16 -4
  40. package/lang/translations/ne.po +16 -4
  41. package/lang/translations/nl.po +16 -4
  42. package/lang/translations/no.po +16 -4
  43. package/lang/translations/oc.po +16 -4
  44. package/lang/translations/pl.po +16 -4
  45. package/lang/translations/pt-br.po +16 -4
  46. package/lang/translations/pt.po +16 -4
  47. package/lang/translations/ro.po +16 -4
  48. package/lang/translations/ru.po +16 -4
  49. package/lang/translations/sk.po +16 -4
  50. package/lang/translations/sl.po +16 -4
  51. package/lang/translations/sq.po +16 -4
  52. package/lang/translations/sr-latn.po +16 -4
  53. package/lang/translations/sr.po +16 -4
  54. package/lang/translations/sv.po +16 -4
  55. package/lang/translations/th.po +16 -4
  56. package/lang/translations/tk.po +16 -4
  57. package/lang/translations/tr.po +16 -4
  58. package/lang/translations/tt.po +16 -4
  59. package/lang/translations/ug.po +16 -4
  60. package/lang/translations/uk.po +16 -4
  61. package/lang/translations/vi.po +16 -4
  62. package/lang/translations/zh-cn.po +16 -4
  63. package/lang/translations/zh.po +16 -4
  64. package/package.json +19 -18
  65. package/src/editor/editor.js +1 -1
  66. package/src/index.js +18 -2
  67. package/src/plugincollection.js +1 -1
  68. package/theme/icons/cog.svg +1 -0
  69. package/theme/icons/object-center.svg +1 -1
  70. package/theme/icons/object-full-width.svg +1 -1
  71. package/theme/icons/object-inline-left.svg +1 -0
  72. package/theme/icons/object-inline-right.svg +1 -0
  73. package/theme/icons/object-inline.svg +1 -0
  74. package/theme/icons/object-left.svg +1 -1
  75. package/theme/icons/object-right.svg +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-core",
3
- "version": "27.1.0",
3
+ "version": "29.2.0",
4
4
  "description": "The core architecture of CKEditor 5 – the best browser-based rich text editor.",
5
5
  "keywords": [
6
6
  "wysiwyg",
@@ -23,25 +23,25 @@
23
23
  ],
24
24
  "main": "src/index.js",
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-engine": "^27.1.0",
27
- "@ckeditor/ckeditor5-ui": "^27.1.0",
28
- "@ckeditor/ckeditor5-utils": "^27.1.0",
26
+ "@ckeditor/ckeditor5-engine": "^29.2.0",
27
+ "@ckeditor/ckeditor5-ui": "^29.2.0",
28
+ "@ckeditor/ckeditor5-utils": "^29.2.0",
29
29
  "lodash-es": "^4.17.15"
30
30
  },
31
31
  "devDependencies": {
32
- "@ckeditor/ckeditor5-autoformat": "^27.1.0",
33
- "@ckeditor/ckeditor5-basic-styles": "^27.1.0",
34
- "@ckeditor/ckeditor5-block-quote": "^27.1.0",
35
- "@ckeditor/ckeditor5-editor-classic": "^27.1.0",
36
- "@ckeditor/ckeditor5-essentials": "^27.1.0",
37
- "@ckeditor/ckeditor5-heading": "^27.1.0",
38
- "@ckeditor/ckeditor5-image": "^27.1.0",
39
- "@ckeditor/ckeditor5-indent": "^27.1.0",
40
- "@ckeditor/ckeditor5-link": "^27.1.0",
41
- "@ckeditor/ckeditor5-list": "^27.1.0",
42
- "@ckeditor/ckeditor5-media-embed": "^27.1.0",
43
- "@ckeditor/ckeditor5-paragraph": "^27.1.0",
44
- "@ckeditor/ckeditor5-table": "^27.1.0"
32
+ "@ckeditor/ckeditor5-autoformat": "^29.2.0",
33
+ "@ckeditor/ckeditor5-basic-styles": "^29.2.0",
34
+ "@ckeditor/ckeditor5-block-quote": "^29.2.0",
35
+ "@ckeditor/ckeditor5-editor-classic": "^29.2.0",
36
+ "@ckeditor/ckeditor5-essentials": "^29.2.0",
37
+ "@ckeditor/ckeditor5-heading": "^29.2.0",
38
+ "@ckeditor/ckeditor5-image": "^29.2.0",
39
+ "@ckeditor/ckeditor5-indent": "^29.2.0",
40
+ "@ckeditor/ckeditor5-link": "^29.2.0",
41
+ "@ckeditor/ckeditor5-list": "^29.2.0",
42
+ "@ckeditor/ckeditor5-media-embed": "^29.2.0",
43
+ "@ckeditor/ckeditor5-paragraph": "^29.2.0",
44
+ "@ckeditor/ckeditor5-table": "^29.2.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=12.0.0",
@@ -59,6 +59,7 @@
59
59
  "files": [
60
60
  "lang",
61
61
  "src",
62
- "theme"
62
+ "theme",
63
+ "ckeditor5-metadata.json"
63
64
  ]
64
65
  }
@@ -70,7 +70,7 @@ export default class Editor {
70
70
  * Stores all configurations specific to this editor instance.
71
71
  *
72
72
  * editor.config.get( 'image.toolbar' );
73
- * // -> [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
73
+ * // -> [ 'imageStyle:block', 'imageStyle:side', '|', 'toggleImageCaption', 'imageTextAlternative' ]
74
74
  *
75
75
  * @readonly
76
76
  * @member {module:utils/config~Config}
package/src/index.js CHANGED
@@ -27,9 +27,11 @@ export { default as PendingActions } from './pendingactions';
27
27
  import cancel from './../theme/icons/cancel.svg';
28
28
  import caption from './../theme/icons/caption.svg';
29
29
  import check from './../theme/icons/check.svg';
30
+ import cog from './../theme/icons/cog.svg';
30
31
  import eraser from './../theme/icons/eraser.svg';
31
32
  import lowVision from './../theme/icons/low-vision.svg';
32
33
  import image from './../theme/icons/image.svg';
34
+
33
35
  import alignBottom from './../theme/icons/align-bottom.svg';
34
36
  import alignMiddle from './../theme/icons/align-middle.svg';
35
37
  import alignTop from './../theme/icons/align-top.svg';
@@ -37,14 +39,20 @@ import alignLeft from './../theme/icons/align-left.svg';
37
39
  import alignCenter from './../theme/icons/align-center.svg';
38
40
  import alignRight from './../theme/icons/align-right.svg';
39
41
  import alignJustify from './../theme/icons/align-justify.svg';
40
- import objectLeft from './../theme/icons/object-left.svg';
42
+
43
+ import objectBlockLeft from './../theme/icons/object-left.svg';
41
44
  import objectCenter from './../theme/icons/object-center.svg';
42
- import objectRight from './../theme/icons/object-right.svg';
45
+ import objectBlockRight from './../theme/icons/object-right.svg';
43
46
  import objectFullWidth from './../theme/icons/object-full-width.svg';
47
+ import objectInline from './../theme/icons/object-inline.svg';
48
+ import objectLeft from './../theme/icons/object-inline-left.svg';
49
+ import objectRight from './../theme/icons/object-inline-right.svg';
50
+
44
51
  import objectSizeFull from './../theme/icons/object-size-full.svg';
45
52
  import objectSizeLarge from './../theme/icons/object-size-large.svg';
46
53
  import objectSizeSmall from './../theme/icons/object-size-small.svg';
47
54
  import objectSizeMedium from './../theme/icons/object-size-medium.svg';
55
+
48
56
  import pencil from './../theme/icons/pencil.svg';
49
57
  import pilcrow from './../theme/icons/pilcrow.svg';
50
58
  import quote from './../theme/icons/quote.svg';
@@ -54,9 +62,11 @@ export const icons = {
54
62
  cancel,
55
63
  caption,
56
64
  check,
65
+ cog,
57
66
  eraser,
58
67
  lowVision,
59
68
  image,
69
+
60
70
  alignBottom,
61
71
  alignMiddle,
62
72
  alignTop,
@@ -64,14 +74,20 @@ export const icons = {
64
74
  alignCenter,
65
75
  alignRight,
66
76
  alignJustify,
77
+
67
78
  objectLeft,
68
79
  objectCenter,
69
80
  objectRight,
70
81
  objectFullWidth,
82
+ objectInline,
83
+ objectBlockLeft,
84
+ objectBlockRight,
85
+
71
86
  objectSizeFull,
72
87
  objectSizeLarge,
73
88
  objectSizeSmall,
74
89
  objectSizeMedium,
90
+
75
91
  pencil,
76
92
  pilcrow,
77
93
  quote,
@@ -324,7 +324,7 @@ export default class PluginCollection {
324
324
  *
325
325
  * Soft requirements were introduced in version 26.0.0. If you happen to stumble upon this error
326
326
  * when upgrading to version 26.0.0, read also the
327
- * {@glink builds/guides/migration/migration-to-26.0.0 Migration to 26.0.0} guide.
327
+ * {@glink builds/guides/migration/migration-to-26 Migration to 26.0.0} guide.
328
328
  *
329
329
  * @error plugincollection-soft-required
330
330
  * @param {String} missingPlugin The name of the required plugin.
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.333 2 .19 2.263a5.899 5.899 0 0 1 1.458.604L14.714 3.4 16.6 5.286l-1.467 1.733c.263.452.468.942.605 1.46L18 8.666v2.666l-2.263.19a5.899 5.899 0 0 1-.604 1.458l1.467 1.733-1.886 1.886-1.733-1.467a5.899 5.899 0 0 1-1.46.605L11.334 18H8.667l-.19-2.263a5.899 5.899 0 0 1-1.458-.604L5.286 16.6 3.4 14.714l1.467-1.733a5.899 5.899 0 0 1-.604-1.458L2 11.333V8.667l2.262-.189a5.899 5.899 0 0 1 .605-1.459L3.4 5.286 5.286 3.4l1.733 1.467a5.899 5.899 0 0 1 1.46-.605L8.666 2h2.666zM10 6.267a3.733 3.733 0 1 0 0 7.466 3.733 3.733 0 0 0 0-7.466z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm4.5 3V12h7V7.5h-7zM5.758 6h8.484c.419 0 .758.407.758.91v5.681c0 .502-.34.909-.758.909H5.758c-.419 0-.758-.407-.758-.91V6.91c0-.503.34-.91.758-.91zM2 16.5V15h16v1.5z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M15.003 7v5.5a1 1 0 0 1-1 1H5.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H6.5V12h6.997V7.5z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm2.5 3V12h11V7.5h-11zM4.061 6H15.94c.586 0 1.061.407 1.061.91v5.68c0 .503-.475.91-1.061.91H4.06c-.585 0-1.06-.407-1.06-.91V6.91C3 6.406 3.475 6 4.061 6zM2 16.5V15h16v1.5z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18 7v5.5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1zm-1.505.5H3.504V12h12.991V7.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zm0-3H18v1.5h-4.5zm0-3H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2zm0-9h5v1.5H2zm0 3h5v1.5H2zm0 3h5v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M18 4.5V3H2v1.5h16zm0 3V6h-5.674v1.5H18zm0 3V9h-5.674v1.5H18zm0 3V12h-5.674v1.5H18zm-8.5-6V12h-6V7.5h6zm.818-1.5H2.682C2.305 6 2 6.407 2 6.91v5.68c0 .503.305.91.682.91h7.636c.377 0 .682-.407.682-.91V6.91c0-.503-.305-.91-.682-.91zM18 16.5V15H2v1.5h16z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5V3h16v1.5zm0 3V6h5.674v1.5zm0 3V9h5.674v1.5zm0 3V12h5.674v1.5zm8.5-6V12h6V7.5h-6zM9.682 6h7.636c.377 0 .682.407.682.91v5.68c0 .503-.305.91-.682.91H9.682c-.377 0-.682-.407-.682-.91V6.91c0-.503.305-.91.682-.91zM2 16.5V15h16v1.5z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>