@ckeditor/ckeditor5-enter 42.0.2 → 43.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/CHANGELOG.md
CHANGED
|
@@ -1,172 +1,4 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
-
All changes in the package are documented in
|
|
5
|
-
|
|
6
|
-
Changes for the past releases are available below.
|
|
7
|
-
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
|
9
|
-
|
|
10
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
|
14
|
-
|
|
15
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v16.0.0...v17.0.0) (February 19, 2020)
|
|
19
|
-
|
|
20
|
-
### Other changes
|
|
21
|
-
|
|
22
|
-
* Fixed a case in track changes. Closes [ckeditor/ckeditor5#6072](https://github.com/ckeditor/ckeditor5/issues/6072). ([4848bcb](https://github.com/ckeditor/ckeditor5-enter/commit/4848bcb))
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v15.0.0...v16.0.0) (December 4, 2019)
|
|
26
|
-
|
|
27
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v11.1.0...v15.0.0) (October 23, 2019)
|
|
31
|
-
|
|
32
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.4...v11.1.0) (August 26, 2019)
|
|
36
|
-
|
|
37
|
-
### Features
|
|
38
|
-
|
|
39
|
-
* Attributes (of the text and element) will be copied to the next line on <kbd>Enter</kbd>. This functionality needs to be turned on by setting `copyOnEnter` in the schema for each attribute that you register. Closes [#40](https://github.com/ckeditor/ckeditor5-enter/issues/40). ([36bdcd8](https://github.com/ckeditor/ckeditor5-enter/commit/36bdcd8))
|
|
40
|
-
|
|
41
|
-
### Other changes
|
|
42
|
-
|
|
43
|
-
* The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([036217a](https://github.com/ckeditor/ckeditor5-enter/commit/036217a))
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## [11.0.4](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.3...v11.0.4) (July 10, 2019)
|
|
47
|
-
|
|
48
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
## [11.0.3](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.2...v11.0.3) (July 4, 2019)
|
|
52
|
-
|
|
53
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
## [11.0.2](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.1...v11.0.2) (June 6, 2019)
|
|
57
|
-
|
|
58
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## [11.0.1](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.0...v11.0.1) (April 4, 2019)
|
|
62
|
-
|
|
63
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.3...v11.0.0) (February 28, 2019)
|
|
67
|
-
|
|
68
|
-
### BREAKING CHANGES
|
|
69
|
-
|
|
70
|
-
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
## [10.1.3](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.2...v10.1.3) (December 5, 2018)
|
|
74
|
-
|
|
75
|
-
### Bug fixes
|
|
76
|
-
|
|
77
|
-
* `EnterCommand` will use `writer.split()` also at the beginning and at the end of a block. ([c159958](https://github.com/ckeditor/ckeditor5-enter/commit/c159958))
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
## [10.1.2](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.1...v10.1.2) (October 8, 2018)
|
|
81
|
-
|
|
82
|
-
### Bug fixes
|
|
83
|
-
|
|
84
|
-
* The default action of <kbd>Enter</kbd> should be always prevented. Closes [ckeditor/ckeditor5#1120](https://github.com/ckeditor/ckeditor5/issues/1120). ([8d7c75f](https://github.com/ckeditor/ckeditor5-enter/commit/8d7c75f))
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## [10.1.1](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.0...v10.1.1) (July 18, 2018)
|
|
88
|
-
|
|
89
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-enter/compare/v10.0.0...v10.1.0) (June 21, 2018)
|
|
93
|
-
|
|
94
|
-
### Features
|
|
95
|
-
|
|
96
|
-
* Introduced the `ShiftEnter` plugin (support for inserting soft breaks by pressing <kbd>Shift</kbd>+<kbd>Enter</kbd>). This plugin will also be added to the `Essentials` plugin which is available in all official builds, so soft break support will automatically be present in all builds now. Closes [#2](https://github.com/ckeditor/ckeditor5-enter/issues/2). ([0181bbf](https://github.com/ckeditor/ckeditor5-enter/commit/0181bbf))
|
|
97
|
-
|
|
98
|
-
Huge thanks to [Alex Eckermann](https://github.com/alexeckermann) for this contribution!
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
|
102
|
-
|
|
103
|
-
### Other changes
|
|
104
|
-
|
|
105
|
-
* Changed the license to GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991). ([9f003b6](https://github.com/ckeditor/ckeditor5-enter/commit/9f003b6))
|
|
106
|
-
|
|
107
|
-
### BREAKING CHANGES
|
|
108
|
-
|
|
109
|
-
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
|
113
|
-
|
|
114
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
|
|
118
|
-
|
|
119
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
|
|
123
|
-
|
|
124
|
-
### Bug fixes
|
|
125
|
-
|
|
126
|
-
* `EnterObserver` will stop the `keydown` event when the `enter` event is stopped. Closes: https://github.com/ckeditor/ckeditor5/issues/753. ([b9a7a1e](https://github.com/ckeditor/ckeditor5-enter/commit/b9a7a1e))
|
|
127
|
-
|
|
128
|
-
### Other changes
|
|
129
|
-
|
|
130
|
-
* Aligned code to the changes in the engine. ([39e4b4c](https://github.com/ckeditor/ckeditor5-enter/commit/39e4b4c))
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
|
|
134
|
-
|
|
135
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
136
|
-
|
|
137
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-enter/compare/v0.10.0...v1.0.0-alpha.1) (October 3, 2017)
|
|
138
|
-
|
|
139
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
## [0.10.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.9.1...v0.10.0) (September 3, 2017)
|
|
143
|
-
|
|
144
|
-
### Features
|
|
145
|
-
|
|
146
|
-
* The viewport will be scrolled to the selection when <kbd>Enter</kbd> is pressed. See ckeditor/ckeditor5-engine#660. ([17f815e](https://github.com/ckeditor/ckeditor5-enter/commit/17f815e))
|
|
147
|
-
|
|
148
|
-
### Other changes
|
|
149
|
-
|
|
150
|
-
* Aligned the implementation to the new Command API (see https://github.com/ckeditor/ckeditor5-core/issues/88). ([d75b448](https://github.com/ckeditor/ckeditor5-enter/commit/d75b448))
|
|
151
|
-
|
|
152
|
-
### BREAKING CHANGES
|
|
153
|
-
|
|
154
|
-
* The command API has been changed.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
## [0.9.1](https://github.com/ckeditor/ckeditor5-enter/compare/v0.9.0...v0.9.1) (May 7, 2017)
|
|
158
|
-
|
|
159
|
-
Internal changes only (updated dependencies, documentation, etc.).
|
|
160
|
-
|
|
161
|
-
## [0.9.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.8.0...v0.9.0) (April 5, 2017)
|
|
162
|
-
|
|
163
|
-
### Features
|
|
164
|
-
|
|
165
|
-
* Named existing plugin(s). ([7d1582b](https://github.com/ckeditor/ckeditor5-enter/commit/7d1582b))
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
## [0.8.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.7.0...v0.8.0) (March 6, 2017)
|
|
169
|
-
|
|
170
|
-
### Features
|
|
171
|
-
|
|
172
|
-
* Integrated the command with `Schema#limits`. Closes [#38](https://github.com/ckeditor/ckeditor5/issues/38). ([36dac9b](https://github.com/ckeditor/ckeditor5-enter/commit/36dac9b))
|
|
4
|
+
All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
import type { Translations } from '@ckeditor/ckeditor5-utils';
|
|
7
|
+
declare const translations: Translations;
|
|
8
|
+
export default translations;
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
export default {"sr-latn":{"dictionary":{"Insert a soft break (a <code><br></code> element)":"Umetnite meku pauzu (element <br>)","Insert a hard break (a new paragraph)":"Ubacite čvrstu pauzu (novi pasus) "},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
( e => {
|
|
7
|
+
const { [ 'sr-latn' ]: { dictionary, getPluralForm } } = {"sr-latn":{"dictionary":{"Insert a soft break (a <code><br></code> element)":"Umetnite meku pauzu (element <br>)","Insert a hard break (a new paragraph)":"Ubacite čvrstu pauzu (novi pasus) "},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}};
|
|
8
|
+
e[ 'sr-latn' ] ||= { dictionary: {}, getPluralForm: null };
|
|
9
|
+
e[ 'sr-latn' ].dictionary = Object.assign( e[ 'sr-latn' ].dictionary, dictionary );
|
|
10
|
+
e[ 'sr-latn' ].getPluralForm = getPluralForm;
|
|
11
|
+
} )( window.CKEDITOR_TRANSLATIONS ||= {} );
|
|
@@ -0,0 +1,26 @@
|
|
|
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 "Keystroke description for assistive technologies: keystroke for inserting a soft break."
|
|
21
|
+
msgid "Insert a soft break (a <code><br></code> element)"
|
|
22
|
+
msgstr "Umetnite meku pauzu (element <br>)"
|
|
23
|
+
|
|
24
|
+
msgctxt "Keystroke description for assistive technologies: keystroke for inserting a hard break."
|
|
25
|
+
msgid "Insert a hard break (a new paragraph)"
|
|
26
|
+
msgstr "Ubacite čvrstu pauzu (novi pasus) "
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-enter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "43.0.0-alpha.0",
|
|
4
4
|
"description": "Enter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "
|
|
18
|
-
"@ckeditor/ckeditor5-utils": "
|
|
16
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "43.0.0-alpha.0",
|
|
18
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.0"
|
|
19
19
|
},
|
|
20
20
|
"author": "CKSource (http://cksource.com/)",
|
|
21
21
|
"license": "GPL-2.0-or-later",
|