@ckeditor/ckeditor5-autoformat 48.8.1-alpha.3 → 49.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/dist/augmentation.d.ts +8 -8
- package/dist/autoformat.d.ts +84 -81
- package/dist/blockautoformatediting.d.ts +52 -52
- package/dist/index-content.css +3 -0
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +3 -0
- package/dist/index-editor.css.map +1 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +406 -505
- package/dist/index.js.map +1 -1
- package/dist/inlineautoformatediting.d.ts +77 -77
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +5 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +5 -3
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +5 -3
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +5 -3
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +5 -3
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +5 -3
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +5 -3
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +5 -3
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +5 -3
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +5 -3
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +5 -3
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +5 -3
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +5 -3
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +5 -3
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +5 -3
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +5 -3
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +5 -3
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +5 -3
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +5 -3
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +5 -3
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +5 -3
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +5 -3
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +5 -3
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +5 -3
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +5 -3
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +5 -3
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +5 -3
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +5 -3
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +5 -3
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +5 -3
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +5 -3
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +5 -3
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +5 -3
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +5 -3
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +5 -3
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +5 -3
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +5 -3
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +5 -3
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +5 -3
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +5 -3
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +5 -3
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +5 -3
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +5 -3
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +5 -3
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +5 -3
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +5 -3
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +5 -3
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +5 -3
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +5 -3
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +5 -3
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +5 -3
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +5 -3
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +5 -3
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +5 -3
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +5 -3
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +5 -3
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +5 -3
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +5 -3
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +5 -3
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +5 -3
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +5 -3
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +5 -3
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +5 -3
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +5 -3
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +5 -3
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +5 -3
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +5 -3
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +5 -3
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +5 -3
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +5 -3
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +5 -3
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +5 -3
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +5 -3
- package/package.json +6 -6
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
import type { Editor } from
|
|
20
|
-
import type { ModelRange, ModelWriter } from
|
|
21
|
-
import { type Autoformat } from
|
|
6
|
+
* The inline autoformatting engine. It allows to format various inline patterns. For example,
|
|
7
|
+
* it can be configured to make "foo" bold when typed `**foo**` (the `**` markers will be removed).
|
|
8
|
+
*
|
|
9
|
+
* The autoformatting operation is integrated with the undo manager,
|
|
10
|
+
* so the autoformatting step can be undone if the user's intention was not to format the text.
|
|
11
|
+
*
|
|
12
|
+
* See the {@link module:autoformat/inlineautoformatediting~inlineAutoformatEditing `inlineAutoformatEditing`} documentation
|
|
13
|
+
* to learn how to create custom inline autoformatters. You can also use
|
|
14
|
+
* the {@link module:autoformat/autoformat~Autoformat} feature which enables a set of default autoformatters
|
|
15
|
+
* (lists, headings, bold and italic).
|
|
16
|
+
*
|
|
17
|
+
* @module autoformat/inlineautoformatediting
|
|
18
|
+
*/
|
|
19
|
+
import type { Editor } from "@ckeditor/ckeditor5-core";
|
|
20
|
+
import type { ModelRange, ModelWriter } from "@ckeditor/ckeditor5-engine";
|
|
21
|
+
import { type Autoformat } from "./autoformat.js";
|
|
22
22
|
export type AutoformatTestCallback = (text: string) => {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
remove: Array<Array<number>>;
|
|
24
|
+
format: Array<Array<number>>;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
27
|
+
* Enables autoformatting mechanism for a given {@link module:core/editor/editor~Editor}.
|
|
28
|
+
*
|
|
29
|
+
* It formats the matched text by applying the given model attribute or by running the provided formatting callback.
|
|
30
|
+
* On every {@link module:engine/model/document~ModelDocument#event:change:data data change} in the model document
|
|
31
|
+
* the autoformatting engine checks the text on the left of the selection
|
|
32
|
+
* and executes the provided action if the text matches given criteria (regular expression or callback).
|
|
33
|
+
*
|
|
34
|
+
* @param editor The editor instance.
|
|
35
|
+
* @param plugin The autoformat plugin instance.
|
|
36
|
+
* @param testRegexpOrCallback The regular expression or callback to execute on text.
|
|
37
|
+
* Provided regular expression *must* have three capture groups. The first and the third capture group
|
|
38
|
+
* should match opening and closing delimiters. The second capture group should match the text to format.
|
|
39
|
+
*
|
|
40
|
+
* ```ts
|
|
41
|
+
* // Matches the `**bold text**` pattern.
|
|
42
|
+
* // There are three capturing groups:
|
|
43
|
+
* // - The first to match the starting `**` delimiter.
|
|
44
|
+
* // - The second to match the text to format.
|
|
45
|
+
* // - The third to match the ending `**` delimiter.
|
|
46
|
+
* inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, formatCallback );
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* When a function is provided instead of the regular expression, it will be executed with the text to match as a parameter.
|
|
50
|
+
* The function should return proper "ranges" to delete and format.
|
|
51
|
+
*
|
|
52
|
+
* ```ts
|
|
53
|
+
* {
|
|
54
|
+
* remove: [
|
|
55
|
+
* [ 0, 1 ], // Remove the first letter from the given text.
|
|
56
|
+
* [ 5, 6 ] // Remove the 6th letter from the given text.
|
|
57
|
+
* ],
|
|
58
|
+
* format: [
|
|
59
|
+
* [ 1, 5 ] // Format all letters from 2nd to 5th.
|
|
60
|
+
* ]
|
|
61
|
+
* }
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param formatCallback A callback to apply actual formatting.
|
|
65
|
+
* It should return `false` if changes should not be applied (e.g. if a command is disabled).
|
|
66
|
+
*
|
|
67
|
+
* ```ts
|
|
68
|
+
* inlineAutoformatEditing( editor, plugin, /(\*\*)([^\*]+?)(\*\*)$/g, ( writer, rangesToFormat ) => {
|
|
69
|
+
* const command = editor.commands.get( 'bold' );
|
|
70
|
+
*
|
|
71
|
+
* if ( !command.isEnabled ) {
|
|
72
|
+
* return false;
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* const validRanges = editor.model.schema.getValidRanges( rangesToFormat, 'bold' );
|
|
76
|
+
*
|
|
77
|
+
* for ( let range of validRanges ) {
|
|
78
|
+
* writer.setAttribute( 'bold', true, range );
|
|
79
|
+
* }
|
|
80
|
+
* } );
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
83
|
export declare function inlineAutoformatEditing(editor: Editor, plugin: Autoformat, testRegexpOrCallback: RegExp | AutoformatTestCallback, formatCallback: (writer: ModelWriter, rangesToFormat: Array<ModelRange>) => boolean | undefined): void;
|
package/dist/translations/af.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"af":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"af":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'af' ]:
|
|
7
|
+
const { [ 'af' ]: translations } = {"af":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'af' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'af' ].dictionary = Object.assign( e[ 'af' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'af' ].dictionary = Object.assign( e[ 'af' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'af' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/ar.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"ar":{"dictionary":{"Revert autoformatting action":"العودة إلى إجراء التنسيق التلقائي"}
|
|
5
|
+
export default {"ar":{"dictionary":{"Revert autoformatting action":"العودة إلى إجراء التنسيق التلقائي"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'ar' ]:
|
|
7
|
+
const { [ 'ar' ]: translations } = {"ar":{"dictionary":{"Revert autoformatting action":"العودة إلى إجراء التنسيق التلقائي"}}};
|
|
8
8
|
e[ 'ar' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'ar' ].dictionary = Object.assign( e[ 'ar' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'ar' ].dictionary = Object.assign( e[ 'ar' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'ar' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/ast.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"ast":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"ast":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'ast' ]:
|
|
7
|
+
const { [ 'ast' ]: translations } = {"ast":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'ast' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'ast' ].dictionary = Object.assign( e[ 'ast' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'ast' ].dictionary = Object.assign( e[ 'ast' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'ast' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/az.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"az":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"az":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'az' ]:
|
|
7
|
+
const { [ 'az' ]: translations } = {"az":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'az' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'az' ].dictionary = Object.assign( e[ 'az' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'az' ].dictionary = Object.assign( e[ 'az' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'az' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/be.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"be":{"dictionary":{"Revert autoformatting action":"Адмяніць дзеянне аўтафарматавання"}
|
|
5
|
+
export default {"be":{"dictionary":{"Revert autoformatting action":"Адмяніць дзеянне аўтафарматавання"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'be' ]:
|
|
7
|
+
const { [ 'be' ]: translations } = {"be":{"dictionary":{"Revert autoformatting action":"Адмяніць дзеянне аўтафарматавання"}}};
|
|
8
8
|
e[ 'be' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'be' ].dictionary = Object.assign( e[ 'be' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'be' ].dictionary = Object.assign( e[ 'be' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'be' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/bg.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"bg":{"dictionary":{"Revert autoformatting action":"Отмяна на действие за автоматично форматиране"}
|
|
5
|
+
export default {"bg":{"dictionary":{"Revert autoformatting action":"Отмяна на действие за автоматично форматиране"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'bg' ]:
|
|
7
|
+
const { [ 'bg' ]: translations } = {"bg":{"dictionary":{"Revert autoformatting action":"Отмяна на действие за автоматично форматиране"}}};
|
|
8
8
|
e[ 'bg' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'bg' ].dictionary = Object.assign( e[ 'bg' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'bg' ].dictionary = Object.assign( e[ 'bg' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'bg' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/bn.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"bn":{"dictionary":{"Revert autoformatting action":"অটো ফরম্যাটিংয়ের কাজটি পূর্বাবস্থায় ফিরিয়ে আনুন"}
|
|
5
|
+
export default {"bn":{"dictionary":{"Revert autoformatting action":"অটো ফরম্যাটিংয়ের কাজটি পূর্বাবস্থায় ফিরিয়ে আনুন"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'bn' ]:
|
|
7
|
+
const { [ 'bn' ]: translations } = {"bn":{"dictionary":{"Revert autoformatting action":"অটো ফরম্যাটিংয়ের কাজটি পূর্বাবস্থায় ফিরিয়ে আনুন"}}};
|
|
8
8
|
e[ 'bn' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'bn' ].dictionary = Object.assign( e[ 'bn' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'bn' ].dictionary = Object.assign( e[ 'bn' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'bn' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/bs.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"bs":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"bs":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'bs' ]:
|
|
7
|
+
const { [ 'bs' ]: translations } = {"bs":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'bs' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'bs' ].dictionary = Object.assign( e[ 'bs' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'bs' ].dictionary = Object.assign( e[ 'bs' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'bs' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/ca.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"ca":{"dictionary":{"Revert autoformatting action":"Desfés l'acció d'autoformatació"}
|
|
5
|
+
export default {"ca":{"dictionary":{"Revert autoformatting action":"Desfés l'acció d'autoformatació"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'ca' ]:
|
|
7
|
+
const { [ 'ca' ]: translations } = {"ca":{"dictionary":{"Revert autoformatting action":"Desfés l'acció d'autoformatació"}}};
|
|
8
8
|
e[ 'ca' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'ca' ].dictionary = Object.assign( e[ 'ca' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'ca' ].dictionary = Object.assign( e[ 'ca' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'ca' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/cs.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"cs":{"dictionary":{"Revert autoformatting action":"Vzít zpět akci automatického formátování"}
|
|
5
|
+
export default {"cs":{"dictionary":{"Revert autoformatting action":"Vzít zpět akci automatického formátování"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'cs' ]:
|
|
7
|
+
const { [ 'cs' ]: translations } = {"cs":{"dictionary":{"Revert autoformatting action":"Vzít zpět akci automatického formátování"}}};
|
|
8
8
|
e[ 'cs' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'cs' ].dictionary = Object.assign( e[ 'cs' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'cs' ].dictionary = Object.assign( e[ 'cs' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'cs' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/da.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"da":{"dictionary":{"Revert autoformatting action":"Fortryd autoformatering"}
|
|
5
|
+
export default {"da":{"dictionary":{"Revert autoformatting action":"Fortryd autoformatering"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'da' ]:
|
|
7
|
+
const { [ 'da' ]: translations } = {"da":{"dictionary":{"Revert autoformatting action":"Fortryd autoformatering"}}};
|
|
8
8
|
e[ 'da' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'da' ].dictionary = Object.assign( e[ 'da' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'da' ].dictionary = Object.assign( e[ 'da' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'da' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"de-ch":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"de-ch":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'de-ch' ]:
|
|
7
|
+
const { [ 'de-ch' ]: translations } = {"de-ch":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'de-ch' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'de-ch' ].dictionary = Object.assign( e[ 'de-ch' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'de-ch' ].dictionary = Object.assign( e[ 'de-ch' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'de-ch' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/de.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"de":{"dictionary":{"Revert autoformatting action":"Automatischen Formatierungsvorgang rückgängig machen"}
|
|
5
|
+
export default {"de":{"dictionary":{"Revert autoformatting action":"Automatischen Formatierungsvorgang rückgängig machen"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'de' ]:
|
|
7
|
+
const { [ 'de' ]: translations } = {"de":{"dictionary":{"Revert autoformatting action":"Automatischen Formatierungsvorgang rückgängig machen"}}};
|
|
8
8
|
e[ 'de' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'de' ].dictionary = Object.assign( e[ 'de' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'de' ].dictionary = Object.assign( e[ 'de' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'de' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/el.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"el":{"dictionary":{"Revert autoformatting action":"Επαναφορά ενέργειας αυτόματης μορφοποίησης"}
|
|
5
|
+
export default {"el":{"dictionary":{"Revert autoformatting action":"Επαναφορά ενέργειας αυτόματης μορφοποίησης"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'el' ]:
|
|
7
|
+
const { [ 'el' ]: translations } = {"el":{"dictionary":{"Revert autoformatting action":"Επαναφορά ενέργειας αυτόματης μορφοποίησης"}}};
|
|
8
8
|
e[ 'el' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'el' ].dictionary = Object.assign( e[ 'el' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'el' ].dictionary = Object.assign( e[ 'el' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'el' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"en-au":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"en-au":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'en-au' ]:
|
|
7
|
+
const { [ 'en-au' ]: translations } = {"en-au":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'en-au' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'en-au' ].dictionary = Object.assign( e[ 'en-au' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'en-au' ].dictionary = Object.assign( e[ 'en-au' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'en-au' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"en-gb":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"en-gb":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'en-gb' ]:
|
|
7
|
+
const { [ 'en-gb' ]: translations } = {"en-gb":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'en-gb' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'en-gb' ].dictionary = Object.assign( e[ 'en-gb' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'en-gb' ].dictionary = Object.assign( e[ 'en-gb' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'en-gb' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/en.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"en":{"dictionary":{"Revert autoformatting action":"Revert autoformatting action"}
|
|
5
|
+
export default {"en":{"dictionary":{"Revert autoformatting action":"Revert autoformatting action"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'en' ]:
|
|
7
|
+
const { [ 'en' ]: translations } = {"en":{"dictionary":{"Revert autoformatting action":"Revert autoformatting action"}}};
|
|
8
8
|
e[ 'en' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'en' ].dictionary = Object.assign( e[ 'en' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'en' ].dictionary = Object.assign( e[ 'en' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'en' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/eo.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"eo":{"dictionary":{"Revert autoformatting action":""}
|
|
5
|
+
export default {"eo":{"dictionary":{"Revert autoformatting action":""}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'eo' ]:
|
|
7
|
+
const { [ 'eo' ]: translations } = {"eo":{"dictionary":{"Revert autoformatting action":""}}};
|
|
8
8
|
e[ 'eo' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'eo' ].dictionary = Object.assign( e[ 'eo' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'eo' ].dictionary = Object.assign( e[ 'eo' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'eo' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"es-co":{"dictionary":{"Revert autoformatting action":"Revertir la acción de formato automático"}
|
|
5
|
+
export default {"es-co":{"dictionary":{"Revert autoformatting action":"Revertir la acción de formato automático"}}}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
( e => {
|
|
7
|
-
const { [ 'es-co' ]:
|
|
7
|
+
const { [ 'es-co' ]: translations } = {"es-co":{"dictionary":{"Revert autoformatting action":"Revertir la acción de formato automático"}}};
|
|
8
8
|
e[ 'es-co' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
-
e[ 'es-co' ].dictionary = Object.assign( e[ 'es-co' ].dictionary, dictionary );
|
|
10
|
-
|
|
9
|
+
e[ 'es-co' ].dictionary = Object.assign( e[ 'es-co' ].dictionary, translations.dictionary );
|
|
10
|
+
if ( translations.getPluralForm ) {
|
|
11
|
+
e[ 'es-co' ].getPluralForm = translations.getPluralForm;
|
|
12
|
+
}
|
|
11
13
|
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
package/dist/translations/es.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export default {"es":{"dictionary":{"Revert autoformatting action":"Revierte la acción de formato automático"}
|
|
5
|
+
export default {"es":{"dictionary":{"Revert autoformatting action":"Revierte la acción de formato automático"}}}
|