@ckeditor/ckeditor5-restricted-editing 47.6.1-alpha.1 → 48.0.0-alpha.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/ckeditor5-metadata.json +6 -6
- package/dist/index-editor.css +59 -0
- package/dist/index.css +61 -0
- package/dist/index.css.map +1 -0
- package/dist/index.js.map +1 -1
- package/{src → dist}/restrictededitingexceptionautocommand.d.ts +1 -1
- package/{src → dist}/restrictededitingexceptionblockcommand.d.ts +1 -1
- package/{src → dist}/restrictededitingexceptioncommand.d.ts +1 -1
- package/{src → dist}/restrictededitingmode/converters.d.ts +2 -2
- package/{src → dist}/restrictededitingmode/utils.d.ts +2 -2
- package/{src → dist}/restrictededitingmode.d.ts +1 -1
- package/{src → dist}/restrictededitingmodeediting.d.ts +1 -1
- package/{src → dist}/restrictededitingmodenavigationcommand.d.ts +1 -1
- package/{src → dist}/restrictededitingmodeui.d.ts +1 -1
- package/{src → dist}/standardeditingmode.d.ts +1 -1
- package/{src → dist}/standardeditingmodeediting.d.ts +1 -1
- package/{src → dist}/standardeditingmodeui.d.ts +1 -1
- package/package.json +25 -47
- package/build/restricted-editing.js +0 -5
- package/build/translations/af.js +0 -1
- package/build/translations/ar.js +0 -1
- package/build/translations/ast.js +0 -1
- package/build/translations/az.js +0 -1
- package/build/translations/be.js +0 -1
- package/build/translations/bg.js +0 -1
- package/build/translations/bn.js +0 -1
- package/build/translations/bs.js +0 -1
- package/build/translations/ca.js +0 -1
- package/build/translations/cs.js +0 -1
- package/build/translations/da.js +0 -1
- package/build/translations/de-ch.js +0 -1
- package/build/translations/de.js +0 -1
- package/build/translations/el.js +0 -1
- package/build/translations/en-au.js +0 -1
- package/build/translations/en-gb.js +0 -1
- package/build/translations/eo.js +0 -1
- package/build/translations/es-co.js +0 -1
- package/build/translations/es.js +0 -1
- package/build/translations/et.js +0 -1
- package/build/translations/eu.js +0 -1
- package/build/translations/fa.js +0 -1
- package/build/translations/fi.js +0 -1
- package/build/translations/fr.js +0 -1
- package/build/translations/gl.js +0 -1
- package/build/translations/gu.js +0 -1
- package/build/translations/he.js +0 -1
- package/build/translations/hi.js +0 -1
- package/build/translations/hr.js +0 -1
- package/build/translations/hu.js +0 -1
- package/build/translations/hy.js +0 -1
- package/build/translations/id.js +0 -1
- package/build/translations/it.js +0 -1
- package/build/translations/ja.js +0 -1
- package/build/translations/jv.js +0 -1
- package/build/translations/kk.js +0 -1
- package/build/translations/km.js +0 -1
- package/build/translations/kn.js +0 -1
- package/build/translations/ko.js +0 -1
- package/build/translations/ku.js +0 -1
- package/build/translations/lt.js +0 -1
- package/build/translations/lv.js +0 -1
- package/build/translations/ms.js +0 -1
- package/build/translations/nb.js +0 -1
- package/build/translations/ne.js +0 -1
- package/build/translations/nl.js +0 -1
- package/build/translations/no.js +0 -1
- package/build/translations/oc.js +0 -1
- package/build/translations/pl.js +0 -1
- package/build/translations/pt-br.js +0 -1
- package/build/translations/pt.js +0 -1
- package/build/translations/ro.js +0 -1
- package/build/translations/ru.js +0 -1
- package/build/translations/si.js +0 -1
- package/build/translations/sk.js +0 -1
- package/build/translations/sl.js +0 -1
- package/build/translations/sq.js +0 -1
- package/build/translations/sr-latn.js +0 -1
- package/build/translations/sr.js +0 -1
- package/build/translations/sv.js +0 -1
- package/build/translations/th.js +0 -1
- package/build/translations/ti.js +0 -1
- package/build/translations/tk.js +0 -1
- package/build/translations/tr.js +0 -1
- package/build/translations/tt.js +0 -1
- package/build/translations/ug.js +0 -1
- package/build/translations/uk.js +0 -1
- package/build/translations/ur.js +0 -1
- package/build/translations/uz.js +0 -1
- package/build/translations/vi.js +0 -1
- package/build/translations/zh-cn.js +0 -1
- package/build/translations/zh.js +0 -1
- package/lang/contexts.json +0 -11
- package/lang/translations/af.po +0 -48
- package/lang/translations/ar.po +0 -48
- package/lang/translations/ast.po +0 -48
- package/lang/translations/az.po +0 -48
- package/lang/translations/be.po +0 -48
- package/lang/translations/bg.po +0 -48
- package/lang/translations/bn.po +0 -48
- package/lang/translations/bs.po +0 -48
- package/lang/translations/ca.po +0 -48
- package/lang/translations/cs.po +0 -48
- package/lang/translations/da.po +0 -48
- package/lang/translations/de-ch.po +0 -48
- package/lang/translations/de.po +0 -48
- package/lang/translations/el.po +0 -48
- package/lang/translations/en-au.po +0 -48
- package/lang/translations/en-gb.po +0 -48
- package/lang/translations/en.po +0 -48
- package/lang/translations/eo.po +0 -48
- package/lang/translations/es-co.po +0 -48
- package/lang/translations/es.po +0 -48
- package/lang/translations/et.po +0 -48
- package/lang/translations/eu.po +0 -48
- package/lang/translations/fa.po +0 -48
- package/lang/translations/fi.po +0 -48
- package/lang/translations/fr.po +0 -48
- package/lang/translations/gl.po +0 -48
- package/lang/translations/gu.po +0 -48
- package/lang/translations/he.po +0 -48
- package/lang/translations/hi.po +0 -48
- package/lang/translations/hr.po +0 -48
- package/lang/translations/hu.po +0 -48
- package/lang/translations/hy.po +0 -48
- package/lang/translations/id.po +0 -48
- package/lang/translations/it.po +0 -48
- package/lang/translations/ja.po +0 -48
- package/lang/translations/jv.po +0 -48
- package/lang/translations/kk.po +0 -48
- package/lang/translations/km.po +0 -48
- package/lang/translations/kn.po +0 -48
- package/lang/translations/ko.po +0 -48
- package/lang/translations/ku.po +0 -48
- package/lang/translations/lt.po +0 -48
- package/lang/translations/lv.po +0 -48
- package/lang/translations/ms.po +0 -48
- package/lang/translations/nb.po +0 -48
- package/lang/translations/ne.po +0 -48
- package/lang/translations/nl.po +0 -48
- package/lang/translations/no.po +0 -48
- package/lang/translations/oc.po +0 -48
- package/lang/translations/pl.po +0 -48
- package/lang/translations/pt-br.po +0 -48
- package/lang/translations/pt.po +0 -48
- package/lang/translations/ro.po +0 -48
- package/lang/translations/ru.po +0 -48
- package/lang/translations/si.po +0 -48
- package/lang/translations/sk.po +0 -48
- package/lang/translations/sl.po +0 -48
- package/lang/translations/sq.po +0 -48
- package/lang/translations/sr-latn.po +0 -48
- package/lang/translations/sr.po +0 -48
- package/lang/translations/sv.po +0 -48
- package/lang/translations/th.po +0 -48
- package/lang/translations/ti.po +0 -48
- package/lang/translations/tk.po +0 -48
- package/lang/translations/tr.po +0 -48
- package/lang/translations/tt.po +0 -48
- package/lang/translations/ug.po +0 -48
- package/lang/translations/uk.po +0 -48
- package/lang/translations/ur.po +0 -48
- package/lang/translations/uz.po +0 -48
- package/lang/translations/vi.po +0 -48
- package/lang/translations/zh-cn.po +0 -48
- package/lang/translations/zh.po +0 -48
- package/src/augmentation.js +0 -5
- package/src/index.js +0 -20
- package/src/restrictededitingconfig.js +0 -5
- package/src/restrictededitingexceptionautocommand.js +0 -73
- package/src/restrictededitingexceptionblockcommand.js +0 -203
- package/src/restrictededitingexceptioncommand.js +0 -61
- package/src/restrictededitingmode/converters.js +0 -177
- package/src/restrictededitingmode/utils.js +0 -69
- package/src/restrictededitingmode.js +0 -39
- package/src/restrictededitingmodeediting.js +0 -512
- package/src/restrictededitingmodenavigationcommand.js +0 -99
- package/src/restrictededitingmodeui.js +0 -139
- package/src/standardeditingmode.js +0 -36
- package/src/standardeditingmodeediting.js +0 -193
- package/src/standardeditingmodeui.js +0 -150
- package/theme/restrictedediting.css +0 -10
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/restrictededitingconfig.d.ts +0 -0
package/lang/translations/tr.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: tr\n"
|
|
11
|
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "Düzenlemeyi etkinleştir"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr "Önceki düzenlenebilir alan"
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr "Sonraki düzenlenebilir alan"
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr "Düzenlenebilir alanlara git"
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr "Satır içi düzenlemeyi devre dışı bırak"
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr "Satır içi düzenlemeyi etkinleştir"
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr "Blok düzenlemeyi devre dışı bırak"
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr "Blok düzenlemeyi etkinleştir"
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr "Düzenlemeyi devre dışı bırak"
|
package/lang/translations/tt.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: tt\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr ""
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr ""
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr ""
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr ""
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr ""
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr ""
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr ""
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr ""
|
package/lang/translations/ug.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: ug\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr ""
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr ""
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr ""
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr ""
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr ""
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr ""
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr ""
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr ""
|
package/lang/translations/uk.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: uk\n"
|
|
11
|
-
"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"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "Увімкнути редагування"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr "Попередня область редагування"
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr "Наступна область редагування"
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr "Навігація по областях редагування"
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr "Вимкнути редагування рядків"
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr "Увімкнути редагування рядків"
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr "Вимкнути редагування блоків"
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr "Увімкнути редагування блоків"
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr "Вимкнути редагування"
|
package/lang/translations/ur.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: ur\n"
|
|
11
|
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "تدوین فعال کریں"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr ""
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr ""
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr ""
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr ""
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr ""
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr ""
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr ""
|
package/lang/translations/uz.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: uz\n"
|
|
11
|
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "Tahrirlashga ruxsat berish"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr "Avvalgi tahrirlanadigan hudud"
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr "Keyingi tahrirlanadigan hudud"
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr "Tahrirlanadigan hududlar boʻylab navigatsiya"
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr ""
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr ""
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr ""
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr ""
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr ""
|
package/lang/translations/vi.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: vi\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "Bật tính năng chỉnh sửa"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr "Vùng có thể chỉnh sửa trước đó"
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr "Vùng có thể chỉnh sửa tiếp theo"
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr "Di chuyển giữa các vùng có thể chỉnh sửa"
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr "Tắt tính năng chỉnh sửa nội tuyến"
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr "Bật tính năng chỉnh sửa nội tuyến"
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr "Tắt tính năng chỉnh sửa khối"
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr "Bật tính năng chỉnh sửa khối"
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr "Tắt tính năng chỉnh sửa"
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: zh_CN\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "允许编辑"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr "上一个可编辑区域"
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr "下一个可编辑区域"
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr "导航至可编辑区域"
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr "禁用行内编辑"
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr "启用行内编辑"
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr "禁用块编辑"
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr "启用块编辑"
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr "禁用编辑"
|
package/lang/translations/zh.po
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: zh_TW\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
15
|
-
msgid "Enable editing"
|
|
16
|
-
msgstr "啟用編輯"
|
|
17
|
-
|
|
18
|
-
msgctxt "A label of the button that moves selection to the previous editable region in the content."
|
|
19
|
-
msgid "Previous editable region"
|
|
20
|
-
msgstr "上一個可編輯區域"
|
|
21
|
-
|
|
22
|
-
msgctxt "A label of the button that moves selection to the next editable region in the content."
|
|
23
|
-
msgid "Next editable region"
|
|
24
|
-
msgstr "下一個可編輯區域"
|
|
25
|
-
|
|
26
|
-
msgctxt "A label of the dropdown that provides controls to navigate editable regions in the content."
|
|
27
|
-
msgid "Navigate editable regions"
|
|
28
|
-
msgstr "編輯區域導航"
|
|
29
|
-
|
|
30
|
-
msgctxt "A label of the button indicating that using this button will make a selected text non–editable."
|
|
31
|
-
msgid "Disable inline editing"
|
|
32
|
-
msgstr "停用直接編輯"
|
|
33
|
-
|
|
34
|
-
msgctxt "A label of the button indicating that using this button will make a selected text editable."
|
|
35
|
-
msgid "Enable inline editing"
|
|
36
|
-
msgstr "啟用直接編輯"
|
|
37
|
-
|
|
38
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks non–editable."
|
|
39
|
-
msgid "Disable block editing"
|
|
40
|
-
msgstr "停用區塊編輯"
|
|
41
|
-
|
|
42
|
-
msgctxt "A label of the button indicating that using this button will make a selected blocks editable."
|
|
43
|
-
msgid "Enable block editing"
|
|
44
|
-
msgstr "啟用區塊編輯"
|
|
45
|
-
|
|
46
|
-
msgctxt "A label of the button indicating that using this button will make a selected text or blocks non–editable."
|
|
47
|
-
msgid "Disable editing"
|
|
48
|
-
msgstr "禁止編輯"
|
package/src/augmentation.js
DELETED
package/src/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module restricted-editing
|
|
7
|
-
*/
|
|
8
|
-
export { RestrictedEditingMode } from './restrictededitingmode.js';
|
|
9
|
-
export { RestrictedEditingModeEditing } from './restrictededitingmodeediting.js';
|
|
10
|
-
export { RestrictedEditingModeUI } from './restrictededitingmodeui.js';
|
|
11
|
-
export { RestrictedEditingExceptionCommand } from './restrictededitingexceptioncommand.js';
|
|
12
|
-
export { RestrictedEditingModeNavigationCommand } from './restrictededitingmodenavigationcommand.js';
|
|
13
|
-
export { RestrictedEditingExceptionBlockCommand } from './restrictededitingexceptionblockcommand.js';
|
|
14
|
-
export { RestrictedEditingExceptionAutoCommand } from './restrictededitingexceptionautocommand.js';
|
|
15
|
-
export { StandardEditingMode } from './standardeditingmode.js';
|
|
16
|
-
export { StandardEditingModeEditing } from './standardeditingmodeediting.js';
|
|
17
|
-
export { StandardEditingModeUI } from './standardeditingmodeui.js';
|
|
18
|
-
export { setupExceptionHighlighting as _setupRestrictedEditingExceptionHighlighting, resurrectCollapsedMarkerPostFixer as _resurrectRestrictedEditingCollapsedMarkerPostFixer, extendMarkerOnTypingPostFixer as _extendRestrictedEditingMarkerOnTypingPostFixer, upcastHighlightToMarker as _upcastRestrictedEditingHighlightToMarker } from './restrictededitingmode/converters.js';
|
|
19
|
-
export { getMarkerAtPosition as _getRestrictedEditingMarkerAtPosition, isPositionInRangeBoundaries as _isRestrictedEditingPositionInRangeBoundaries, isSelectionInMarker as _isRestrictedEditingSelectionInMarker } from './restrictededitingmode/utils.js';
|
|
20
|
-
import './augmentation.js';
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module restricted-editing/restrictededitingexceptionautocommand
|
|
7
|
-
*/
|
|
8
|
-
import { Command } from 'ckeditor5/src/core.js';
|
|
9
|
-
import { count } from 'ckeditor5/src/utils.js';
|
|
10
|
-
/**
|
|
11
|
-
* The command that toggles exceptions from the restricted editing on text or on blocks.
|
|
12
|
-
*/
|
|
13
|
-
export class RestrictedEditingExceptionAutoCommand extends Command {
|
|
14
|
-
/**
|
|
15
|
-
* The inline exception command.
|
|
16
|
-
*/
|
|
17
|
-
_inlineCommand;
|
|
18
|
-
/**
|
|
19
|
-
* The block exception command.
|
|
20
|
-
*/
|
|
21
|
-
_blockCommand;
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
constructor(editor) {
|
|
26
|
-
super(editor);
|
|
27
|
-
this._inlineCommand = editor.commands.get('restrictedEditingException');
|
|
28
|
-
this._blockCommand = editor.commands.get('restrictedEditingExceptionBlock');
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @inheritDoc
|
|
32
|
-
*/
|
|
33
|
-
refresh() {
|
|
34
|
-
this.value = this._inlineCommand.value || this._blockCommand.value;
|
|
35
|
-
this.isEnabled = this._inlineCommand.isEnabled || this._blockCommand.isEnabled;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @inheritDoc
|
|
39
|
-
*/
|
|
40
|
-
execute() {
|
|
41
|
-
const editor = this.editor;
|
|
42
|
-
// Selection is inside an inline exception.
|
|
43
|
-
if (this._inlineCommand.value) {
|
|
44
|
-
editor.execute('restrictedEditingException');
|
|
45
|
-
}
|
|
46
|
-
// Selection inside a block exception.
|
|
47
|
-
else if (this._blockCommand.value) {
|
|
48
|
-
editor.execute('restrictedEditingExceptionBlock');
|
|
49
|
-
}
|
|
50
|
-
// Selection allows only for inline exception.
|
|
51
|
-
else if (this._inlineCommand.isEnabled && !this._blockCommand.isEnabled) {
|
|
52
|
-
editor.execute('restrictedEditingException');
|
|
53
|
-
}
|
|
54
|
-
// Selection allows only for block exception.
|
|
55
|
-
else if (this._blockCommand.isEnabled && !this._inlineCommand.isEnabled) {
|
|
56
|
-
editor.execute('restrictedEditingExceptionBlock');
|
|
57
|
-
}
|
|
58
|
-
// Check selection to pick exception type.
|
|
59
|
-
else {
|
|
60
|
-
const schema = editor.model.schema;
|
|
61
|
-
const selection = editor.model.document.selection;
|
|
62
|
-
const selectedElement = selection.getSelectedElement();
|
|
63
|
-
if (selection.isCollapsed ||
|
|
64
|
-
selectedElement && schema.isObject(selectedElement) && schema.isBlock(selectedElement) ||
|
|
65
|
-
count(selection.getSelectedBlocks()) > 1) {
|
|
66
|
-
editor.execute('restrictedEditingExceptionBlock');
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
editor.execute('restrictedEditingException');
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|