@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.
- package/build/special-characters.js +2 -2
- package/build/special-characters.js.map +1 -0
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +4 -0
- package/lang/translations/ar.po +16 -0
- package/lang/translations/az.po +16 -0
- package/lang/translations/bg.po +16 -0
- package/lang/translations/bn.po +16 -0
- package/lang/translations/ca.po +16 -0
- package/lang/translations/cs.po +16 -0
- package/lang/translations/da.po +16 -0
- package/lang/translations/de.po +16 -0
- package/lang/translations/el.po +16 -0
- package/lang/translations/en-au.po +16 -0
- package/lang/translations/en.po +16 -0
- package/lang/translations/es.po +16 -0
- package/lang/translations/et.po +16 -0
- package/lang/translations/fa.po +16 -0
- package/lang/translations/fi.po +16 -0
- package/lang/translations/fr.po +16 -0
- package/lang/translations/gl.po +16 -0
- package/lang/translations/he.po +16 -0
- package/lang/translations/hi.po +16 -0
- package/lang/translations/hu.po +16 -0
- package/lang/translations/id.po +16 -0
- package/lang/translations/it.po +16 -0
- package/lang/translations/ja.po +16 -0
- package/lang/translations/ko.po +16 -0
- package/lang/translations/lt.po +16 -0
- package/lang/translations/lv.po +16 -0
- package/lang/translations/ms.po +16 -0
- package/lang/translations/nl.po +16 -0
- package/lang/translations/no.po +16 -0
- package/lang/translations/pl.po +16 -0
- package/lang/translations/pt-br.po +16 -0
- package/lang/translations/pt.po +16 -0
- package/lang/translations/ro.po +16 -0
- package/lang/translations/ru.po +16 -0
- package/lang/translations/sk.po +16 -0
- package/lang/translations/sr-latn.po +16 -0
- package/lang/translations/sr.po +16 -0
- package/lang/translations/sv.po +16 -0
- package/lang/translations/th.po +16 -0
- package/lang/translations/tk.po +16 -0
- package/lang/translations/tr.po +16 -0
- package/lang/translations/uk.po +16 -0
- package/lang/translations/ur.po +16 -0
- package/lang/translations/uz.po +16 -0
- package/lang/translations/vi.po +16 -0
- package/lang/translations/zh-cn.po +16 -0
- package/lang/translations/zh.po +16 -0
- package/package.json +12 -12
- package/src/specialcharactersarrows.js +4 -0
- 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 "向左双箭头"
|
package/lang/translations/zh.po
CHANGED
|
@@ -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
|
|
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
|
|
15
|
+
"ckeditor5": "^35.2.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ckeditor/ckeditor5-cloud-services": "^35.1
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^35.1
|
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
|
21
|
-
"@ckeditor/ckeditor5-easy-image": "^35.1
|
|
22
|
-
"@ckeditor/ckeditor5-editor-classic": "^35.1
|
|
23
|
-
"@ckeditor/ckeditor5-image": "^35.1
|
|
24
|
-
"@ckeditor/ckeditor5-theme-lark": "^35.1
|
|
25
|
-
"@ckeditor/ckeditor5-typing": "^35.1
|
|
26
|
-
"@ckeditor/ckeditor5-ui": "^35.1
|
|
27
|
-
"@ckeditor/ckeditor5-utils": "^35.1
|
|
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 );
|