@ckeditor/ckeditor5-undo 37.1.0 → 38.0.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/lang/translations/ar.po +1 -1
  2. package/lang/translations/ast.po +1 -1
  3. package/lang/translations/az.po +1 -1
  4. package/lang/translations/bg.po +1 -1
  5. package/lang/translations/bn.po +1 -1
  6. package/lang/translations/ca.po +1 -1
  7. package/lang/translations/cs.po +1 -1
  8. package/lang/translations/da.po +1 -1
  9. package/lang/translations/de-ch.po +1 -1
  10. package/lang/translations/de.po +1 -1
  11. package/lang/translations/el.po +1 -1
  12. package/lang/translations/en-au.po +1 -1
  13. package/lang/translations/en-gb.po +1 -1
  14. package/lang/translations/eo.po +1 -1
  15. package/lang/translations/es.po +1 -1
  16. package/lang/translations/et.po +1 -1
  17. package/lang/translations/eu.po +1 -1
  18. package/lang/translations/fa.po +1 -1
  19. package/lang/translations/fi.po +1 -1
  20. package/lang/translations/fr.po +1 -1
  21. package/lang/translations/gl.po +1 -1
  22. package/lang/translations/he.po +1 -1
  23. package/lang/translations/hi.po +1 -1
  24. package/lang/translations/hr.po +1 -1
  25. package/lang/translations/hu.po +1 -1
  26. package/lang/translations/id.po +1 -1
  27. package/lang/translations/it.po +1 -1
  28. package/lang/translations/ja.po +1 -1
  29. package/lang/translations/km.po +1 -1
  30. package/lang/translations/kn.po +1 -1
  31. package/lang/translations/ko.po +1 -1
  32. package/lang/translations/ku.po +1 -1
  33. package/lang/translations/lt.po +1 -1
  34. package/lang/translations/lv.po +1 -1
  35. package/lang/translations/ms.po +1 -1
  36. package/lang/translations/nb.po +1 -1
  37. package/lang/translations/ne.po +1 -1
  38. package/lang/translations/nl.po +1 -1
  39. package/lang/translations/no.po +1 -1
  40. package/lang/translations/pl.po +1 -1
  41. package/lang/translations/pt-br.po +1 -1
  42. package/lang/translations/pt.po +1 -1
  43. package/lang/translations/ro.po +1 -1
  44. package/lang/translations/ru.po +1 -1
  45. package/lang/translations/si.po +1 -1
  46. package/lang/translations/sk.po +1 -1
  47. package/lang/translations/sq.po +1 -1
  48. package/lang/translations/sr-latn.po +1 -1
  49. package/lang/translations/sr.po +1 -1
  50. package/lang/translations/sv.po +1 -1
  51. package/lang/translations/th.po +1 -1
  52. package/lang/translations/tk.po +1 -1
  53. package/lang/translations/tr.po +1 -1
  54. package/lang/translations/tt.po +1 -1
  55. package/lang/translations/ug.po +1 -1
  56. package/lang/translations/uk.po +1 -1
  57. package/lang/translations/ur.po +1 -1
  58. package/lang/translations/uz.po +1 -1
  59. package/lang/translations/vi.po +1 -1
  60. package/lang/translations/zh-cn.po +1 -1
  61. package/lang/translations/zh.po +1 -1
  62. package/package.json +13 -13
  63. package/src/basecommand.js +9 -2
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"
15
+ "Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
16
16
  "Language: ar\n"
17
17
  "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Asturian (https://www.transifex.com/ckeditor/teams/11143/ast/)\n"
15
+ "Language-Team: Asturian (https://app.transifex.com/ckeditor/teams/11143/ast/)\n"
16
16
  "Language: ast\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Azerbaijani (https://www.transifex.com/ckeditor/teams/11143/az/)\n"
15
+ "Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n"
16
16
  "Language: az\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
15
+ "Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
16
16
  "Language: bg\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Bengali (https://www.transifex.com/ckeditor/teams/11143/bn/)\n"
15
+ "Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
16
16
  "Language: bn\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Catalan (https://www.transifex.com/ckeditor/teams/11143/ca/)\n"
15
+ "Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
16
16
  "Language: ca\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Czech (https://www.transifex.com/ckeditor/teams/11143/cs/)\n"
15
+ "Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
16
16
  "Language: cs\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Danish (https://www.transifex.com/ckeditor/teams/11143/da/)\n"
15
+ "Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n"
16
16
  "Language: da\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: German (Switzerland) (https://www.transifex.com/ckeditor/teams/11143/de_CH/)\n"
15
+ "Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n"
16
16
  "Language: de_CH\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: German (https://www.transifex.com/ckeditor/teams/11143/de/)\n"
15
+ "Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n"
16
16
  "Language: de\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Greek (https://www.transifex.com/ckeditor/teams/11143/el/)\n"
15
+ "Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n"
16
16
  "Language: el\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: English (Australia) (https://www.transifex.com/ckeditor/teams/11143/en_AU/)\n"
15
+ "Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n"
16
16
  "Language: en_AU\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: English (United Kingdom) (https://www.transifex.com/ckeditor/teams/11143/en_GB/)\n"
15
+ "Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n"
16
16
  "Language: en_GB\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Esperanto (https://www.transifex.com/ckeditor/teams/11143/eo/)\n"
15
+ "Language-Team: Esperanto (https://app.transifex.com/ckeditor/teams/11143/eo/)\n"
16
16
  "Language: eo\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
15
+ "Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n"
16
16
  "Language: es\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Estonian (https://www.transifex.com/ckeditor/teams/11143/et/)\n"
15
+ "Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n"
16
16
  "Language: et\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Basque (https://www.transifex.com/ckeditor/teams/11143/eu/)\n"
15
+ "Language-Team: Basque (https://app.transifex.com/ckeditor/teams/11143/eu/)\n"
16
16
  "Language: eu\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Persian (https://www.transifex.com/ckeditor/teams/11143/fa/)\n"
15
+ "Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n"
16
16
  "Language: fa\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Finnish (https://www.transifex.com/ckeditor/teams/11143/fi/)\n"
15
+ "Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n"
16
16
  "Language: fi\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
15
+ "Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n"
16
16
  "Language: fr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Galician (https://www.transifex.com/ckeditor/teams/11143/gl/)\n"
15
+ "Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n"
16
16
  "Language: gl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Hebrew (https://www.transifex.com/ckeditor/teams/11143/he/)\n"
15
+ "Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
16
16
  "Language: he\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Hindi (https://www.transifex.com/ckeditor/teams/11143/hi/)\n"
15
+ "Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n"
16
16
  "Language: hi\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Croatian (https://www.transifex.com/ckeditor/teams/11143/hr/)\n"
15
+ "Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n"
16
16
  "Language: hr\n"
17
17
  "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Hungarian (https://www.transifex.com/ckeditor/teams/11143/hu/)\n"
15
+ "Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
16
16
  "Language: hu\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Indonesian (https://www.transifex.com/ckeditor/teams/11143/id/)\n"
15
+ "Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
16
16
  "Language: id\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
15
+ "Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
16
16
  "Language: it\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Japanese (https://www.transifex.com/ckeditor/teams/11143/ja/)\n"
15
+ "Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
16
16
  "Language: ja\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Khmer (https://www.transifex.com/ckeditor/teams/11143/km/)\n"
15
+ "Language-Team: Khmer (https://app.transifex.com/ckeditor/teams/11143/km/)\n"
16
16
  "Language: km\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Kannada (https://www.transifex.com/ckeditor/teams/11143/kn/)\n"
15
+ "Language-Team: Kannada (https://app.transifex.com/ckeditor/teams/11143/kn/)\n"
16
16
  "Language: kn\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Korean (https://www.transifex.com/ckeditor/teams/11143/ko/)\n"
15
+ "Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
16
16
  "Language: ko\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Kurdish (https://www.transifex.com/ckeditor/teams/11143/ku/)\n"
15
+ "Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n"
16
16
  "Language: ku\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Lithuanian (https://www.transifex.com/ckeditor/teams/11143/lt/)\n"
15
+ "Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
16
16
  "Language: lt\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Latvian (https://www.transifex.com/ckeditor/teams/11143/lv/)\n"
15
+ "Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
16
16
  "Language: lv\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Malay (https://www.transifex.com/ckeditor/teams/11143/ms/)\n"
15
+ "Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
16
16
  "Language: ms\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Norwegian Bokmål (https://www.transifex.com/ckeditor/teams/11143/nb/)\n"
15
+ "Language-Team: Norwegian Bokmål (https://app.transifex.com/ckeditor/teams/11143/nb/)\n"
16
16
  "Language: nb\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Nepali (Nepal) (https://www.transifex.com/ckeditor/teams/11143/ne_NP/)\n"
15
+ "Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n"
16
16
  "Language: ne_NP\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Dutch (https://www.transifex.com/ckeditor/teams/11143/nl/)\n"
15
+ "Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
16
16
  "Language: nl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Norwegian (https://www.transifex.com/ckeditor/teams/11143/no/)\n"
15
+ "Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
16
16
  "Language: no\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Polish (https://www.transifex.com/ckeditor/teams/11143/pl/)\n"
15
+ "Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
16
16
  "Language: pl\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
15
+ "Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
15
+ "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Romanian (https://www.transifex.com/ckeditor/teams/11143/ro/)\n"
15
+ "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
16
  "Language: ro\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Russian (https://www.transifex.com/ckeditor/teams/11143/ru/)\n"
15
+ "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
16
  "Language: ru\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Sinhala (Sri Lanka) (https://www.transifex.com/ckeditor/teams/11143/si_LK/)\n"
15
+ "Language-Team: Sinhala (Sri Lanka) (https://app.transifex.com/ckeditor/teams/11143/si_LK/)\n"
16
16
  "Language: si_LK\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Slovak (https://www.transifex.com/ckeditor/teams/11143/sk/)\n"
15
+ "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
16
  "Language: sk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Albanian (https://www.transifex.com/ckeditor/teams/11143/sq/)\n"
15
+ "Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
16
16
  "Language: sq\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Serbian (Latin) (https://www.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
15
+ "Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
16
16
  "Language: sr@latin\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Serbian (https://www.transifex.com/ckeditor/teams/11143/sr/)\n"
15
+ "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
16
  "Language: sr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"
15
+ "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
16
  "Language: sv\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Thai (https://www.transifex.com/ckeditor/teams/11143/th/)\n"
15
+ "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
16
  "Language: th\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Turkmen (https://www.transifex.com/ckeditor/teams/11143/tk/)\n"
15
+ "Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
16
16
  "Language: tk\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Turkish (https://www.transifex.com/ckeditor/teams/11143/tr/)\n"
15
+ "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Tatar (https://www.transifex.com/ckeditor/teams/11143/tt/)\n"
15
+ "Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
16
16
  "Language: tt\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Uyghur (https://www.transifex.com/ckeditor/teams/11143/ug/)\n"
15
+ "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
16
  "Language: ug\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n"
15
+ "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
15
+ "Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
16
16
  "Language: ur\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Uzbek (https://www.transifex.com/ckeditor/teams/11143/uz/)\n"
15
+ "Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
16
16
  "Language: uz\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Vietnamese (https://www.transifex.com/ckeditor/teams/11143/vi/)\n"
15
+ "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
15
+ "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
@@ -12,7 +12,7 @@
12
12
  #
13
13
  msgid ""
14
14
  msgstr ""
15
- "Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
15
+ "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-undo",
3
- "version": "37.1.0",
3
+ "version": "38.0.0-rc.0",
4
4
  "description": "Undo feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,20 +12,20 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "^37.1.0",
16
- "@ckeditor/ckeditor5-engine": "^37.1.0",
17
- "@ckeditor/ckeditor5-ui": "^37.1.0"
15
+ "@ckeditor/ckeditor5-core": "^38.0.0-rc.0",
16
+ "@ckeditor/ckeditor5-engine": "^38.0.0-rc.0",
17
+ "@ckeditor/ckeditor5-ui": "^38.0.0-rc.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@ckeditor/ckeditor5-basic-styles": "^37.1.0",
21
- "@ckeditor/ckeditor5-clipboard": "^37.1.0",
22
- "@ckeditor/ckeditor5-editor-classic": "^37.1.0",
23
- "@ckeditor/ckeditor5-enter": "^37.1.0",
24
- "@ckeditor/ckeditor5-heading": "^37.1.0",
25
- "@ckeditor/ckeditor5-paragraph": "^37.1.0",
26
- "@ckeditor/ckeditor5-typing": "^37.1.0",
27
- "@ckeditor/ckeditor5-table": "^37.1.0",
28
- "@ckeditor/ckeditor5-utils": "^37.1.0",
20
+ "@ckeditor/ckeditor5-basic-styles": "^38.0.0-rc.0",
21
+ "@ckeditor/ckeditor5-clipboard": "^38.0.0-rc.0",
22
+ "@ckeditor/ckeditor5-editor-classic": "^38.0.0-rc.0",
23
+ "@ckeditor/ckeditor5-enter": "^38.0.0-rc.0",
24
+ "@ckeditor/ckeditor5-heading": "^38.0.0-rc.0",
25
+ "@ckeditor/ckeditor5-paragraph": "^38.0.0-rc.0",
26
+ "@ckeditor/ckeditor5-typing": "^38.0.0-rc.0",
27
+ "@ckeditor/ckeditor5-table": "^38.0.0-rc.0",
28
+ "@ckeditor/ckeditor5-utils": "^38.0.0-rc.0",
29
29
  "typescript": "^4.8.4",
30
30
  "webpack": "^5.58.1",
31
31
  "webpack-cli": "^4.9.0"
@@ -6,7 +6,7 @@
6
6
  * @module undo/basecommand
7
7
  */
8
8
  import { Command } from '@ckeditor/ckeditor5-core';
9
- import { transformSets } from '@ckeditor/ckeditor5-engine';
9
+ import { transformSets, NoOperation } from '@ckeditor/ckeditor5-engine';
10
10
  /**
11
11
  * Base class for the undo feature commands: {@link module:undo/undocommand~UndoCommand} and {@link module:undo/redocommand~RedoCommand}.
12
12
  */
@@ -31,6 +31,8 @@ export default class BaseCommand extends Command {
31
31
  this._createdBatches = new WeakSet();
32
32
  // Refresh state, so the command is inactive right after initialization.
33
33
  this.refresh();
34
+ // This command should not depend on selection change.
35
+ this._isEnabledBasedOnSelection = false;
34
36
  // Set the transparent batch for the `editor.data.set()` call if the
35
37
  // batch type is not set already.
36
38
  this.listenTo(editor.data, 'set', (evt, data) => {
@@ -154,7 +156,12 @@ export default class BaseCommand extends Command {
154
156
  });
155
157
  const reversedOperations = transformedSets.operationsA;
156
158
  // After reversed operation has been transformed by all history operations, apply it.
157
- for (const operation of reversedOperations) {
159
+ for (let operation of reversedOperations) {
160
+ // Do not apply any operation on non-editable space.
161
+ const affectedSelectable = operation.affectedSelectable;
162
+ if (affectedSelectable && !model.canEditAt(affectedSelectable)) {
163
+ operation = new NoOperation(operation.baseVersion);
164
+ }
158
165
  // Before applying, add the operation to the `undoingBatch`.
159
166
  undoingBatch.addOperation(operation);
160
167
  model.applyOperation(operation);