@ckeditor/ckeditor5-special-characters 35.1.0 → 35.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/build/special-characters.js +2 -2
  2. package/build/special-characters.js.map +1 -0
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/el.js +1 -1
  12. package/build/translations/en-au.js +1 -1
  13. package/build/translations/es.js +1 -1
  14. package/build/translations/et.js +1 -1
  15. package/build/translations/fa.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hu.js +1 -1
  22. package/build/translations/id.js +1 -1
  23. package/build/translations/it.js +1 -1
  24. package/build/translations/ja.js +1 -1
  25. package/build/translations/ko.js +1 -1
  26. package/build/translations/lt.js +1 -1
  27. package/build/translations/lv.js +1 -1
  28. package/build/translations/ms.js +1 -1
  29. package/build/translations/nl.js +1 -1
  30. package/build/translations/no.js +1 -1
  31. package/build/translations/pl.js +1 -1
  32. package/build/translations/pt-br.js +1 -1
  33. package/build/translations/pt.js +1 -1
  34. package/build/translations/ro.js +1 -1
  35. package/build/translations/ru.js +1 -1
  36. package/build/translations/sk.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/uz.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/contexts.json +4 -0
  50. package/lang/translations/ar.po +16 -0
  51. package/lang/translations/az.po +16 -0
  52. package/lang/translations/bg.po +16 -0
  53. package/lang/translations/bn.po +16 -0
  54. package/lang/translations/ca.po +16 -0
  55. package/lang/translations/cs.po +16 -0
  56. package/lang/translations/da.po +16 -0
  57. package/lang/translations/de.po +16 -0
  58. package/lang/translations/el.po +16 -0
  59. package/lang/translations/en-au.po +16 -0
  60. package/lang/translations/en.po +16 -0
  61. package/lang/translations/es.po +16 -0
  62. package/lang/translations/et.po +16 -0
  63. package/lang/translations/fa.po +16 -0
  64. package/lang/translations/fi.po +16 -0
  65. package/lang/translations/fr.po +16 -0
  66. package/lang/translations/gl.po +16 -0
  67. package/lang/translations/he.po +16 -0
  68. package/lang/translations/hi.po +16 -0
  69. package/lang/translations/hu.po +16 -0
  70. package/lang/translations/id.po +16 -0
  71. package/lang/translations/it.po +16 -0
  72. package/lang/translations/ja.po +16 -0
  73. package/lang/translations/ko.po +16 -0
  74. package/lang/translations/lt.po +16 -0
  75. package/lang/translations/lv.po +16 -0
  76. package/lang/translations/ms.po +16 -0
  77. package/lang/translations/nl.po +16 -0
  78. package/lang/translations/no.po +16 -0
  79. package/lang/translations/pl.po +16 -0
  80. package/lang/translations/pt-br.po +16 -0
  81. package/lang/translations/pt.po +16 -0
  82. package/lang/translations/ro.po +16 -0
  83. package/lang/translations/ru.po +16 -0
  84. package/lang/translations/sk.po +16 -0
  85. package/lang/translations/sr-latn.po +16 -0
  86. package/lang/translations/sr.po +16 -0
  87. package/lang/translations/sv.po +16 -0
  88. package/lang/translations/th.po +16 -0
  89. package/lang/translations/tk.po +16 -0
  90. package/lang/translations/tr.po +16 -0
  91. package/lang/translations/uk.po +16 -0
  92. package/lang/translations/ur.po +16 -0
  93. package/lang/translations/uz.po +16 -0
  94. package/lang/translations/vi.po +16 -0
  95. package/lang/translations/zh-cn.po +16 -0
  96. package/lang/translations/zh.po +16 -0
  97. package/package.json +12 -12
  98. package/src/specialcharactersarrows.js +4 -0
  99. package/src/ui/specialcharactersview.js +6 -1
@@ -20,6 +20,22 @@ msgctxt "Name of the special characters plugins, visible in a dropdown and as a
20
20
  msgid "Special characters"
21
21
  msgstr "特殊字符"
22
22
 
23
+ msgctxt "A label for the \"leftwards simple arrow\" symbol."
24
+ msgid "leftwards simple arrow"
25
+ msgstr "向左简单箭头"
26
+
27
+ msgctxt "A label for the \"rightwards simple arrow\" symbol."
28
+ msgid "rightwards simple arrow"
29
+ msgstr "向右简单箭头"
30
+
31
+ msgctxt "A label for the \"upwards simple arrow\" symbol."
32
+ msgid "upwards simple arrow"
33
+ msgstr "向上简单箭头"
34
+
35
+ msgctxt "A label for the \"downwards simple arrow\" symbol."
36
+ msgid "downwards simple arrow"
37
+ msgstr "向下简单箭头"
38
+
23
39
  msgctxt "A label for the \"leftwards double arrow\" symbol."
24
40
  msgid "leftwards double arrow"
25
41
  msgstr "向左双箭头"
@@ -20,6 +20,22 @@ msgctxt "Name of the special characters plugins, visible in a dropdown and as a
20
20
  msgid "Special characters"
21
21
  msgstr "特殊字元"
22
22
 
23
+ msgctxt "A label for the \"leftwards simple arrow\" symbol."
24
+ msgid "leftwards simple arrow"
25
+ msgstr "向左簡單箭號"
26
+
27
+ msgctxt "A label for the \"rightwards simple arrow\" symbol."
28
+ msgid "rightwards simple arrow"
29
+ msgstr "向右簡單箭號"
30
+
31
+ msgctxt "A label for the \"upwards simple arrow\" symbol."
32
+ msgid "upwards simple arrow"
33
+ msgstr "向上簡單箭號"
34
+
35
+ msgctxt "A label for the \"downwards simple arrow\" symbol."
36
+ msgid "downwards simple arrow"
37
+ msgstr "向下簡單箭號"
38
+
23
39
  msgctxt "A label for the \"leftwards double arrow\" symbol."
24
40
  msgid "leftwards double arrow"
25
41
  msgstr "向左雙箭頭"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-special-characters",
3
- "version": "35.1.0",
3
+ "version": "35.2.1",
4
4
  "description": "Special characters feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,19 +12,19 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^35.1.0"
15
+ "ckeditor5": "^35.2.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-cloud-services": "^35.1.0",
19
- "@ckeditor/ckeditor5-core": "^35.1.0",
20
- "@ckeditor/ckeditor5-dev-utils": "^30.0.0",
21
- "@ckeditor/ckeditor5-easy-image": "^35.1.0",
22
- "@ckeditor/ckeditor5-editor-classic": "^35.1.0",
23
- "@ckeditor/ckeditor5-image": "^35.1.0",
24
- "@ckeditor/ckeditor5-theme-lark": "^35.1.0",
25
- "@ckeditor/ckeditor5-typing": "^35.1.0",
26
- "@ckeditor/ckeditor5-ui": "^35.1.0",
27
- "@ckeditor/ckeditor5-utils": "^35.1.0",
18
+ "@ckeditor/ckeditor5-cloud-services": "^35.2.1",
19
+ "@ckeditor/ckeditor5-core": "^35.2.1",
20
+ "@ckeditor/ckeditor5-dev-utils": "^31.0.0",
21
+ "@ckeditor/ckeditor5-easy-image": "^35.2.1",
22
+ "@ckeditor/ckeditor5-editor-classic": "^35.2.1",
23
+ "@ckeditor/ckeditor5-image": "^35.2.1",
24
+ "@ckeditor/ckeditor5-theme-lark": "^35.2.1",
25
+ "@ckeditor/ckeditor5-typing": "^35.2.1",
26
+ "@ckeditor/ckeditor5-ui": "^35.2.1",
27
+ "@ckeditor/ckeditor5-utils": "^35.2.1",
28
28
  "webpack": "^5.58.1",
29
29
  "webpack-cli": "^4.9.0"
30
30
  },
@@ -37,6 +37,10 @@ export default class SpecialCharactersArrows extends Plugin {
37
37
  const t = editor.t;
38
38
 
39
39
  editor.plugins.get( 'SpecialCharacters' ).addItems( 'Arrows', [
40
+ { title: t( 'leftwards simple arrow' ), character: '←' },
41
+ { title: t( 'rightwards simple arrow' ), character: '→' },
42
+ { title: t( 'upwards simple arrow' ), character: '↑' },
43
+ { title: t( 'downwards simple arrow' ), character: '↓' },
40
44
  { title: t( 'leftwards double arrow' ), character: '⇐' },
41
45
  { title: t( 'rightwards double arrow' ), character: '⇒' },
42
46
  { title: t( 'upwards double arrow' ), character: '⇑' },
@@ -99,7 +99,12 @@ export default class SpecialCharactersView extends View {
99
99
  this.navigationView,
100
100
  this.gridView,
101
101
  this.infoView
102
- ]
102
+ ],
103
+ attributes: {
104
+ // Avoid focus loss when the user clicks the area of the grid that is not a button.
105
+ // https://github.com/ckeditor/ckeditor5/pull/12319#issuecomment-1231779819
106
+ tabindex: '-1'
107
+ }
103
108
  } );
104
109
 
105
110
  this.items.add( this.navigationView.groupDropdownView.buttonView );