@ckeditor/ckeditor5-case-change 0.0.0-internal-20241017.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.
- package/CHANGELOG.md +4 -0
- package/LICENSE.md +18 -0
- package/README.md +40 -0
- package/build/case-change.js +5 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +19 -0
- package/dist/augmentation.d.ts +22 -0
- package/dist/casechange.d.ts +130 -0
- package/dist/casechangecommand.d.ts +36 -0
- package/dist/casechangeediting.d.ts +37 -0
- package/dist/casechangeui.d.ts +38 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +4 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +23 -0
- package/dist/legacyerrors.d.ts +24 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/utils/common-translations.d.ts +13 -0
- package/lang/contexts.json +8 -0
- package/lang/translations/ar.po +42 -0
- package/lang/translations/bg.po +42 -0
- package/lang/translations/bn.po +42 -0
- package/lang/translations/ca.po +42 -0
- package/lang/translations/cs.po +42 -0
- package/lang/translations/da.po +42 -0
- package/lang/translations/de.po +42 -0
- package/lang/translations/el.po +42 -0
- package/lang/translations/en.po +42 -0
- package/lang/translations/es-co.po +42 -0
- package/lang/translations/es.po +42 -0
- package/lang/translations/et.po +42 -0
- package/lang/translations/fi.po +42 -0
- package/lang/translations/fr.po +42 -0
- package/lang/translations/gl.po +42 -0
- package/lang/translations/he.po +42 -0
- package/lang/translations/hi.po +42 -0
- package/lang/translations/hr.po +42 -0
- package/lang/translations/hu.po +42 -0
- package/lang/translations/id.po +42 -0
- package/lang/translations/it.po +42 -0
- package/lang/translations/ja.po +42 -0
- package/lang/translations/ko.po +42 -0
- package/lang/translations/lt.po +42 -0
- package/lang/translations/lv.po +42 -0
- package/lang/translations/ms.po +42 -0
- package/lang/translations/nl.po +42 -0
- package/lang/translations/no.po +42 -0
- package/lang/translations/pl.po +42 -0
- package/lang/translations/pt-br.po +42 -0
- package/lang/translations/pt.po +42 -0
- package/lang/translations/ro.po +42 -0
- package/lang/translations/ru.po +42 -0
- package/lang/translations/sk.po +42 -0
- package/lang/translations/sr-latn.po +42 -0
- package/lang/translations/sr.po +42 -0
- package/lang/translations/sv.po +42 -0
- package/lang/translations/th.po +42 -0
- package/lang/translations/tr.po +42 -0
- package/lang/translations/uk.po +42 -0
- package/lang/translations/vi.po +42 -0
- package/lang/translations/zh-cn.po +42 -0
- package/lang/translations/zh.po +42 -0
- package/package.json +52 -0
- package/src/augmentation.d.ts +18 -0
- package/src/augmentation.js +23 -0
- package/src/casechange.d.ts +126 -0
- package/src/casechange.js +23 -0
- package/src/casechangecommand.d.ts +32 -0
- package/src/casechangecommand.js +23 -0
- package/src/casechangeediting.d.ts +33 -0
- package/src/casechangeediting.js +23 -0
- package/src/casechangeui.d.ts +34 -0
- package/src/casechangeui.js +23 -0
- package/src/index.d.ts +12 -0
- package/src/index.js +23 -0
- package/src/legacyerrors.d.ts +20 -0
- package/src/legacyerrors.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
|
|
16
|
+
"Language: sr@latin\n"
|
|
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
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "Promena slova"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "VELIKA SLOVA"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "mala slova"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "Naslov case"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "Promenite velika i mala slova"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "Promenjena slova u %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
|
16
|
+
"Language: sr\n"
|
|
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
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "Promena veličine slova"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "VELIKA SLOVA"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "mala slova"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "Velika početna slova"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "Promeni velika i mala slova u tekstu"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "Velika i mala slova su promenjena u %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
|
16
|
+
"Language: sv\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "Ändra skiftläge"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "VERSALER"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "gemener"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "Stor begynnelsebokstav"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "Ändra skiftläge"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "Bokstav ändrad till %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
|
|
16
|
+
"Language: th\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "สลับตัวพิมพ์เล็กใหญ่"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "ตัวพิมพ์ใหญ่"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "ตัวพิมพ์เล็ก"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "ขึ้นต้นคําด้วยตัวพิมพ์ใหญ่"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "เปลี่ยนตัวพิมพ์ใหญ่-เล็ก"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "เปลี่ยนตัวพิมพ์เป็น %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
|
16
|
+
"Language: tr\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "Büyük/küçük harf değişikliği"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "BÜYÜK HARF"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "küçük harf"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "Yalnızca İlk Harfler Büyük"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "Metnin harf durumunu değiştir"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "Büyük harf/küçük harf durumu %0 olarak değiştirildi"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
|
16
|
+
"Language: uk\n"
|
|
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
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "Зміна регістру"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "ВЕЛИКІ ЛІТЕРИ"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "малі літери"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "Регістр назви"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "Змінити регістр тексту"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "Регістр змінено на %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
|
16
|
+
"Language: vi\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "Thay đổi chữ hoa, chữ thường"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "CHỮ HOA"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "chữ thường"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "Viết Hoa Đầu Mỗi Từ"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "Thay đổi chữ hoa/thường"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "Đã đổi loại chữ thành %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
|
16
|
+
"Language: zh_CN\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "改变大小写"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "大写"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "小写"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "标题大小写"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "更改文本大小写"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "大小写格式更改为 %0"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
|
16
|
+
"Language: zh_TW\n"
|
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
19
|
+
|
|
20
|
+
msgctxt "Tooltip for the case change dropdown."
|
|
21
|
+
msgid "Case change"
|
|
22
|
+
msgstr "變更大小寫"
|
|
23
|
+
|
|
24
|
+
msgctxt "A label for the button that converts the text to uppercase (for example: word -> WORD)."
|
|
25
|
+
msgid "UPPERCASE"
|
|
26
|
+
msgstr "大寫"
|
|
27
|
+
|
|
28
|
+
msgctxt "A label for the button that converts the text to lowercase (for example: WORD -> word)."
|
|
29
|
+
msgid "lowercase"
|
|
30
|
+
msgstr "小寫"
|
|
31
|
+
|
|
32
|
+
msgctxt "A label for the button that converts the text to title case (for example: the word -> The Word)."
|
|
33
|
+
msgid "Title Case"
|
|
34
|
+
msgstr "標題大小寫"
|
|
35
|
+
|
|
36
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for changing text case."
|
|
37
|
+
msgid "Change text case"
|
|
38
|
+
msgstr "更改文字大小寫"
|
|
39
|
+
|
|
40
|
+
msgctxt "Aria status message indicating case change -of selected text. Example: 'Changed case to lowercase'."
|
|
41
|
+
msgid "Changed case to %0"
|
|
42
|
+
msgstr "大小寫已變更為 %0"
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ckeditor/ckeditor5-case-change",
|
|
3
|
+
"version": "0.0.0-internal-20241017.0",
|
|
4
|
+
"description": "Case change feature for CKEditor 5.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ckeditor",
|
|
7
|
+
"ckeditor5",
|
|
8
|
+
"ckeditor 5",
|
|
9
|
+
"ckeditor5-feature",
|
|
10
|
+
"ckeditor5-plugin",
|
|
11
|
+
"WYSIWYG",
|
|
12
|
+
"WYSIWYM",
|
|
13
|
+
"text",
|
|
14
|
+
"rich-text",
|
|
15
|
+
"richtext",
|
|
16
|
+
"ckeditor",
|
|
17
|
+
"editor",
|
|
18
|
+
"editing",
|
|
19
|
+
"html",
|
|
20
|
+
"contentEditable",
|
|
21
|
+
"title case",
|
|
22
|
+
"letter case",
|
|
23
|
+
"case change",
|
|
24
|
+
"uppercase",
|
|
25
|
+
"lowercase"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "src/index.js",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@ckeditor/ckeditor5-core": "0.0.0-internal-20241017.0",
|
|
31
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-internal-20241017.0",
|
|
32
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-internal-20241017.0",
|
|
33
|
+
"ckeditor5": "0.0.0-internal-20241017.0",
|
|
34
|
+
"ckeditor5-collaboration": "0.0.0-internal-20241017.0"
|
|
35
|
+
},
|
|
36
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
37
|
+
"author": "CKSource (http://cksource.com/)",
|
|
38
|
+
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
39
|
+
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"lang",
|
|
43
|
+
"src/**/*.js",
|
|
44
|
+
"src/**/*.d.ts",
|
|
45
|
+
"theme",
|
|
46
|
+
"build",
|
|
47
|
+
"ckeditor5-metadata.json",
|
|
48
|
+
"CHANGELOG.md"
|
|
49
|
+
],
|
|
50
|
+
"types": "src/index.d.ts",
|
|
51
|
+
"obfuscated": true
|
|
52
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { CaseChange, CaseChangeEditing, CaseChangeUI, CaseChangeCommand, CaseChangeConfig } from './index.js';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
caseChange?: CaseChangeConfig;
|
|
9
|
+
}
|
|
10
|
+
interface PluginsMap {
|
|
11
|
+
[CaseChange.pluginName]: CaseChange;
|
|
12
|
+
[CaseChangeEditing.pluginName]: CaseChangeEditing;
|
|
13
|
+
[CaseChangeUI.pluginName]: CaseChangeUI;
|
|
14
|
+
}
|
|
15
|
+
interface CommandsMap {
|
|
16
|
+
caseChange: CaseChangeCommand;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module case-change/casechange
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
|
+
import CaseChangeEditing from './casechangeediting.js';
|
|
11
|
+
import CaseChangeUI from './casechangeui.js';
|
|
12
|
+
/**
|
|
13
|
+
* The case change feature.
|
|
14
|
+
*
|
|
15
|
+
* For a detailed overview, check the {@glink features/case-change Case change} feature guide.
|
|
16
|
+
*/
|
|
17
|
+
export default class CaseChange extends Plugin {
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get requires(): readonly [typeof CaseChangeEditing, typeof CaseChangeUI];
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get pluginName(): "CaseChange";
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get isOfficialPlugin(): true;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static get isPremiumPlugin(): true;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The configuration of the {@link module:case-change/casechange~CaseChange case change feature}.
|
|
37
|
+
*
|
|
38
|
+
* ```ts
|
|
39
|
+
* ClassicEditor
|
|
40
|
+
* .create( editorElement, {
|
|
41
|
+
* caseChange: ... // Case change feature configuration.
|
|
42
|
+
* } )
|
|
43
|
+
* .then( /* ... *\/ )
|
|
44
|
+
* .catch( /* ... *\/ );
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
48
|
+
*/
|
|
49
|
+
export interface CaseChangeConfig {
|
|
50
|
+
/**
|
|
51
|
+
* Title case configuration.
|
|
52
|
+
*/
|
|
53
|
+
titleCase?: CaseChangeTitleCaseConfig;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Title case configuration.
|
|
57
|
+
* It allows setting words that should not be capitalized when formatted as title case.
|
|
58
|
+
*
|
|
59
|
+
* ```ts
|
|
60
|
+
* ClassicEditor
|
|
61
|
+
* .create( editorElement, {
|
|
62
|
+
* caseChange: {
|
|
63
|
+
* titleCase {
|
|
64
|
+
* excludeWords: [ 'a', 'an', 'the' ]
|
|
65
|
+
* }
|
|
66
|
+
* }
|
|
67
|
+
* } )
|
|
68
|
+
* .then( /* ... *\/ )
|
|
69
|
+
* .catch( /* ... *\/ );
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* ```ts
|
|
73
|
+
* ClassicEditor
|
|
74
|
+
* .create( editorElement, {
|
|
75
|
+
* caseChange: {
|
|
76
|
+
* titleCase {
|
|
77
|
+
* excludeWords: ( word ) => [ 'a', 'an', 'the' ].includes( word )
|
|
78
|
+
* }
|
|
79
|
+
* }
|
|
80
|
+
* } )
|
|
81
|
+
* .then( /* ... *\/ )
|
|
82
|
+
* .catch( /* ... *\/ );
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* ```ts
|
|
86
|
+
* ClassicEditor
|
|
87
|
+
* .create( editorElement, {
|
|
88
|
+
* caseChange: {
|
|
89
|
+
* titleCase {
|
|
90
|
+
* excludeWords: ( word, { wordIndex } ) => wordIndex > 0 && [ 'a', 'an', 'the' ].includes( word )
|
|
91
|
+
* }
|
|
92
|
+
* }
|
|
93
|
+
* } )
|
|
94
|
+
* .then( /* ... *\/ )
|
|
95
|
+
* .catch( /* ... *\/ );
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
99
|
+
*/
|
|
100
|
+
export interface CaseChangeTitleCaseConfig {
|
|
101
|
+
/**
|
|
102
|
+
* Words which should not be capitalized.
|
|
103
|
+
*/
|
|
104
|
+
excludeWords?: Array<string> | ExcludeWordsCallback;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The exclude word callback.
|
|
108
|
+
*/
|
|
109
|
+
export type ExcludeWordsCallback = (word: string, context: ExcludeWordsCallbackContext) => boolean;
|
|
110
|
+
/**
|
|
111
|
+
* The exclude word callback context.
|
|
112
|
+
*/
|
|
113
|
+
export interface ExcludeWordsCallbackContext {
|
|
114
|
+
/**
|
|
115
|
+
* The offset in the text where the given word starts.
|
|
116
|
+
*/
|
|
117
|
+
charOffset: number;
|
|
118
|
+
/**
|
|
119
|
+
* The word index in the given text.
|
|
120
|
+
*/
|
|
121
|
+
wordIndex: number;
|
|
122
|
+
/**
|
|
123
|
+
* The block text.
|
|
124
|
+
*/
|
|
125
|
+
blockText: string;
|
|
126
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x4ba23a=_0x4d54;(function(_0x293e6f,_0x29a04d){var _0xb31555=_0x4d54,_0x4bb086=_0x293e6f();while(!![]){try{var _0xf95897=-parseInt(_0xb31555(0x8c))/0x1+parseInt(_0xb31555(0x81))/0x2+parseInt(_0xb31555(0x83))/0x3+parseInt(_0xb31555(0x80))/0x4+parseInt(_0xb31555(0x88))/0x5+-parseInt(_0xb31555(0x86))/0x6*(-parseInt(_0xb31555(0x8b))/0x7)+-parseInt(_0xb31555(0x84))/0x8*(parseInt(_0xb31555(0x8a))/0x9);if(_0xf95897===_0x29a04d)break;else _0x4bb086['push'](_0x4bb086['shift']());}catch(_0x53ca5a){_0x4bb086['push'](_0x4bb086['shift']());}}}(_0x2a8c,0x8ff6f));function _0x4d54(_0x3cfb79,_0x5424ce){var _0x2a8c23=_0x2a8c();return _0x4d54=function(_0x4d54b1,_0x4f8ee8){_0x4d54b1=_0x4d54b1-0x7f;var _0x21e475=_0x2a8c23[_0x4d54b1];return _0x21e475;},_0x4d54(_0x3cfb79,_0x5424ce);}function _0x2a8c(){var _0x34165b=['2334520PNUXEA','pluginName','18kqxFcu','7wfKlYf','892280LPapfQ','CaseChange','4537976yfeqbN','659666mGcvOk','isOfficialPlugin','1939350lYyYjT','6306744lmeOff','requires','2885784IqjqcH','isPremiumPlugin'];_0x2a8c=function(){return _0x34165b;};return _0x2a8c();}import{Plugin as _0x5c413c}from'ckeditor5/src/core.js';import _0x6dfeb7 from'./casechangeediting.js';import _0x399b88 from'./casechangeui.js';export default class s extends _0x5c413c{static get[_0x4ba23a(0x85)](){return[_0x6dfeb7,_0x399b88];}static get[_0x4ba23a(0x89)](){var _0x2cd4f9=_0x4ba23a;return _0x2cd4f9(0x7f);}static get[_0x4ba23a(0x82)](){return!0x0;}static get[_0x4ba23a(0x87)](){return!0x0;}}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module case-change/casechangecommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
/**
|
|
11
|
+
* This command changes the case of the selected text.
|
|
12
|
+
*/
|
|
13
|
+
export default class CaseChangeCommand extends Command {
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new `CaseChangeCommand` instance.
|
|
16
|
+
*
|
|
17
|
+
* @param editor The editor on which this command will be used.
|
|
18
|
+
*/
|
|
19
|
+
constructor(editor: Editor, transformCallback: TransformCallback);
|
|
20
|
+
/**
|
|
21
|
+
* Transforms the selected text with the defined case change callback.
|
|
22
|
+
*
|
|
23
|
+
* @fires execute
|
|
24
|
+
*/
|
|
25
|
+
execute(): void;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
refresh(): void;
|
|
30
|
+
}
|
|
31
|
+
type TransformCallback = (arg: string) => string;
|
|
32
|
+
export {};
|