@ckeditor/ckeditor5-enter 40.1.0 → 41.0.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 +25 -25
- package/LICENSE.md +1 -1
- package/package.json +5 -4
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/enter.d.ts +1 -1
- package/src/enter.js +3 -3
- package/src/entercommand.d.ts +1 -1
- package/src/entercommand.js +2 -2
- package/src/enterobserver.d.ts +3 -3
- package/src/enterobserver.js +1 -1
- package/src/index.d.ts +7 -7
- package/src/index.js +4 -4
- package/src/shiftenter.d.ts +1 -1
- package/src/shiftenter.js +3 -3
- package/src/shiftentercommand.d.ts +1 -1
- package/src/shiftentercommand.js +2 -2
- package/src/utils.d.ts +1 -1
- package/src/utils.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,34 +5,34 @@ All changes in the package are documented in the main repository. See: https://g
|
|
|
5
5
|
|
|
6
6
|
Changes for the past releases are available below.
|
|
7
7
|
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v18.0.0...v19.0.0) (2020
|
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
|
9
9
|
|
|
10
10
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v17.0.0...v18.0.0) (2020
|
|
13
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
|
14
14
|
|
|
15
15
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v16.0.0...v17.0.0) (2020
|
|
18
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v16.0.0...v17.0.0) (February 19, 2020)
|
|
19
19
|
|
|
20
20
|
### Other changes
|
|
21
21
|
|
|
22
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
23
|
|
|
24
24
|
|
|
25
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v15.0.0...v16.0.0) (2019
|
|
25
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v15.0.0...v16.0.0) (December 4, 2019)
|
|
26
26
|
|
|
27
27
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v11.1.0...v15.0.0) (2019
|
|
30
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v11.1.0...v15.0.0) (October 23, 2019)
|
|
31
31
|
|
|
32
32
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.4...v11.1.0) (2019
|
|
35
|
+
## [11.1.0](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.4...v11.1.0) (August 26, 2019)
|
|
36
36
|
|
|
37
37
|
### Features
|
|
38
38
|
|
|
@@ -43,53 +43,53 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
43
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
44
|
|
|
45
45
|
|
|
46
|
-
## [11.0.4](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.3...v11.0.4) (2019
|
|
46
|
+
## [11.0.4](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.3...v11.0.4) (July 10, 2019)
|
|
47
47
|
|
|
48
48
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
## [11.0.3](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.2...v11.0.3) (2019
|
|
51
|
+
## [11.0.3](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.2...v11.0.3) (July 4, 2019)
|
|
52
52
|
|
|
53
53
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
## [11.0.2](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.1...v11.0.2) (2019
|
|
56
|
+
## [11.0.2](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.1...v11.0.2) (June 6, 2019)
|
|
57
57
|
|
|
58
58
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
## [11.0.1](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.0...v11.0.1) (2019
|
|
61
|
+
## [11.0.1](https://github.com/ckeditor/ckeditor5-enter/compare/v11.0.0...v11.0.1) (April 4, 2019)
|
|
62
62
|
|
|
63
63
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.3...v11.0.0) (2019
|
|
66
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.3...v11.0.0) (February 28, 2019)
|
|
67
67
|
|
|
68
68
|
### BREAKING CHANGES
|
|
69
69
|
|
|
70
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
71
|
|
|
72
72
|
|
|
73
|
-
## [10.1.3](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.2...v10.1.3) (2018
|
|
73
|
+
## [10.1.3](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.2...v10.1.3) (December 5, 2018)
|
|
74
74
|
|
|
75
75
|
### Bug fixes
|
|
76
76
|
|
|
77
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
78
|
|
|
79
79
|
|
|
80
|
-
## [10.1.2](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.1...v10.1.2) (2018
|
|
80
|
+
## [10.1.2](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.1...v10.1.2) (October 8, 2018)
|
|
81
81
|
|
|
82
82
|
### Bug fixes
|
|
83
83
|
|
|
84
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
85
|
|
|
86
86
|
|
|
87
|
-
## [10.1.1](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.0...v10.1.1) (2018
|
|
87
|
+
## [10.1.1](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.0...v10.1.1) (July 18, 2018)
|
|
88
88
|
|
|
89
89
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-enter/compare/v10.0.0...v10.1.0) (2018
|
|
92
|
+
## [10.1.0](https://github.com/ckeditor/ckeditor5-enter/compare/v10.0.0...v10.1.0) (June 21, 2018)
|
|
93
93
|
|
|
94
94
|
### Features
|
|
95
95
|
|
|
@@ -98,7 +98,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
98
98
|
Huge thanks to [Alex Eckermann](https://github.com/alexeckermann) for this contribution!
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.4...v10.0.0) (2018
|
|
101
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
|
102
102
|
|
|
103
103
|
### Other changes
|
|
104
104
|
|
|
@@ -109,17 +109,17 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
109
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
110
|
|
|
111
111
|
|
|
112
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018
|
|
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
113
|
|
|
114
114
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018
|
|
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
118
|
|
|
119
119
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018
|
|
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
123
|
|
|
124
124
|
### Bug fixes
|
|
125
125
|
|
|
@@ -130,16 +130,16 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
130
130
|
* Aligned code to the changes in the engine. ([39e4b4c](https://github.com/ckeditor/ckeditor5-enter/commit/39e4b4c))
|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-enter/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017
|
|
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
134
|
|
|
135
135
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
136
136
|
|
|
137
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-enter/compare/v0.10.0...v1.0.0-alpha.1) (2017
|
|
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
138
|
|
|
139
139
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
## [0.10.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.9.1...v0.10.0) (2017
|
|
142
|
+
## [0.10.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.9.1...v0.10.0) (September 3, 2017)
|
|
143
143
|
|
|
144
144
|
### Features
|
|
145
145
|
|
|
@@ -154,18 +154,18 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
154
154
|
* The command API has been changed.
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
## [0.9.1](https://github.com/ckeditor/ckeditor5-enter/compare/v0.9.0...v0.9.1) (2017
|
|
157
|
+
## [0.9.1](https://github.com/ckeditor/ckeditor5-enter/compare/v0.9.0...v0.9.1) (May 7, 2017)
|
|
158
158
|
|
|
159
159
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
160
160
|
|
|
161
|
-
## [0.9.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.8.0...v0.9.0) (2017
|
|
161
|
+
## [0.9.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.8.0...v0.9.0) (April 5, 2017)
|
|
162
162
|
|
|
163
163
|
### Features
|
|
164
164
|
|
|
165
165
|
* Named existing plugin(s). ([7d1582b](https://github.com/ckeditor/ckeditor5-enter/commit/7d1582b))
|
|
166
166
|
|
|
167
167
|
|
|
168
|
-
## [0.8.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.7.0...v0.8.0) (2017
|
|
168
|
+
## [0.8.0](https://github.com/ckeditor/ckeditor5-enter/compare/v0.7.0...v0.8.0) (March 6, 2017)
|
|
169
169
|
|
|
170
170
|
### Features
|
|
171
171
|
|
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 enter feature** – https://github.com/ckeditor/ckeditor5-enter <br>
|
|
5
|
-
Copyright (c) 2003–
|
|
5
|
+
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-enter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.0.0",
|
|
4
4
|
"description": "Enter feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
"ckeditor5-plugin",
|
|
11
11
|
"ckeditor5-dll"
|
|
12
12
|
],
|
|
13
|
+
"type": "module",
|
|
13
14
|
"main": "src/index.js",
|
|
14
15
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "
|
|
17
|
-
"@ckeditor/ckeditor5-utils": "
|
|
16
|
+
"@ckeditor/ckeditor5-core": "41.0.0",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "41.0.0",
|
|
18
|
+
"@ckeditor/ckeditor5-utils": "41.0.0"
|
|
18
19
|
},
|
|
19
20
|
"author": "CKSource (http://cksource.com/)",
|
|
20
21
|
"license": "GPL-2.0-or-later",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
import type { Enter, ShiftEnter, EnterCommand, ShiftEnterCommand } from './index';
|
|
5
|
+
import type { Enter, ShiftEnter, EnterCommand, ShiftEnterCommand } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface PluginsMap {
|
|
8
8
|
[Enter.pluginName]: Enter;
|
package/src/augmentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
export {};
|
package/src/enter.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/enter.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter/enter
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import EnterCommand from './entercommand';
|
|
10
|
-
import EnterObserver from './enterobserver';
|
|
9
|
+
import EnterCommand from './entercommand.js';
|
|
10
|
+
import EnterObserver from './enterobserver.js';
|
|
11
11
|
/**
|
|
12
12
|
* This plugin handles the <kbd>Enter</kbd> keystroke (hard line break) in the editor.
|
|
13
13
|
*
|
package/src/entercommand.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/entercommand.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter/entercommand
|
|
7
7
|
*/
|
|
8
8
|
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import { getCopyOnEnterAttributes } from './utils';
|
|
9
|
+
import { getCopyOnEnterAttributes } from './utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* Enter command used by the {@link module:enter/enter~Enter Enter feature} to handle the <kbd>Enter</kbd> keystroke.
|
|
12
12
|
*/
|
package/src/enterobserver.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter/enterobserver
|
|
7
7
|
*/
|
|
8
|
-
import { Observer, DomEventData, type
|
|
8
|
+
import { Observer, DomEventData, type EditingView, type BubblingEvent } from '@ckeditor/ckeditor5-engine';
|
|
9
9
|
/**
|
|
10
10
|
* Enter observer introduces the {@link module:engine/view/document~Document#event:enter `Document#enter`} event.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export default class EnterObserver extends Observer {
|
|
|
13
13
|
/**
|
|
14
14
|
* @inheritDoc
|
|
15
15
|
*/
|
|
16
|
-
constructor(view:
|
|
16
|
+
constructor(view: EditingView);
|
|
17
17
|
/**
|
|
18
18
|
* @inheritDoc
|
|
19
19
|
*/
|
package/src/enterobserver.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter
|
|
7
7
|
*/
|
|
8
|
-
export { default as Enter } from './enter';
|
|
9
|
-
export { default as ShiftEnter } from './shiftenter';
|
|
10
|
-
export type { ViewDocumentEnterEvent } from './enterobserver';
|
|
11
|
-
export type { default as EnterCommand, EnterCommandAfterExecuteEvent } from './entercommand';
|
|
12
|
-
export type { default as ShiftEnterCommand } from './shiftentercommand';
|
|
13
|
-
import './augmentation';
|
|
8
|
+
export { default as Enter } from './enter.js';
|
|
9
|
+
export { default as ShiftEnter } from './shiftenter.js';
|
|
10
|
+
export type { ViewDocumentEnterEvent } from './enterobserver.js';
|
|
11
|
+
export type { default as EnterCommand, EnterCommandAfterExecuteEvent } from './entercommand.js';
|
|
12
|
+
export type { default as ShiftEnterCommand } from './shiftentercommand.js';
|
|
13
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter
|
|
7
7
|
*/
|
|
8
|
-
export { default as Enter } from './enter';
|
|
9
|
-
export { default as ShiftEnter } from './shiftenter';
|
|
10
|
-
import './augmentation';
|
|
8
|
+
export { default as Enter } from './enter.js';
|
|
9
|
+
export { default as ShiftEnter } from './shiftenter.js';
|
|
10
|
+
import './augmentation.js';
|
package/src/shiftenter.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
package/src/shiftenter.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter/shiftenter
|
|
7
7
|
*/
|
|
8
|
-
import ShiftEnterCommand from './shiftentercommand';
|
|
9
|
-
import EnterObserver from './enterobserver';
|
|
8
|
+
import ShiftEnterCommand from './shiftentercommand.js';
|
|
9
|
+
import EnterObserver from './enterobserver.js';
|
|
10
10
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
/**
|
|
12
12
|
* This plugin handles the <kbd>Shift</kbd>+<kbd>Enter</kbd> keystroke (soft line break) in the editor.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/shiftentercommand.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module enter/shiftentercommand
|
|
7
7
|
*/
|
|
8
8
|
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import { getCopyOnEnterAttributes } from './utils';
|
|
9
|
+
import { getCopyOnEnterAttributes } from './utils.js';
|
|
10
10
|
/**
|
|
11
11
|
* ShiftEnter command. It is used by the {@link module:enter/shiftenter~ShiftEnter ShiftEnter feature} to handle
|
|
12
12
|
* the <kbd>Shift</kbd>+<kbd>Enter</kbd> keystroke.
|
package/src/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
package/src/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|