@ckeditor/ckeditor5-essentials 40.0.0 → 40.2.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 +26 -26
- package/LICENSE.md +2 -2
- package/ckeditor5-metadata.json +0 -12
- package/package.json +2 -2
- package/src/augmentation.d.ts +10 -10
- package/src/augmentation.js +5 -5
- package/src/essentials.d.ts +39 -39
- package/src/essentials.js +43 -43
- package/src/index.d.ts +9 -9
- package/src/index.js +9 -9
- package/build/essentials.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,90 +5,90 @@ 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-essentials/compare/v18.0.0...v19.0.0) (2020
|
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
|
9
9
|
|
|
10
10
|
### Features
|
|
11
11
|
|
|
12
12
|
* Added the [`SelectAll`](https://ckeditor.com/docs/ckeditor5/latest/api/module_select-all_selectall-SelectAll.html) plugin to the list of essential editor features (see [ckeditor/ckeditor5#6536](https://github.com/ckeditor/ckeditor5/issues/6536)). ([253d4a0](https://github.com/ckeditor/ckeditor5-essentials/commit/253d4a0))
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v17.0.0...v18.0.0) (2020
|
|
15
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
|
16
16
|
|
|
17
17
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v16.0.0...v17.0.0) (2020
|
|
20
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v16.0.0...v17.0.0) (February 19, 2020)
|
|
21
21
|
|
|
22
22
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v15.0.0...v16.0.0) (2019
|
|
25
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-essentials/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-essentials/compare/v11.0.5...v15.0.0) (2019
|
|
30
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.5...v15.0.0) (October 23, 2019)
|
|
31
31
|
|
|
32
32
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
## [11.0.5](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.4...v11.0.5) (2019
|
|
35
|
+
## [11.0.5](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.4...v11.0.5) (August 26, 2019)
|
|
36
36
|
|
|
37
37
|
### Other changes
|
|
38
38
|
|
|
39
39
|
* 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). ([7bba679](https://github.com/ckeditor/ckeditor5-essentials/commit/7bba679))
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
## [11.0.4](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.3...v11.0.4) (2019
|
|
42
|
+
## [11.0.4](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.3...v11.0.4) (July 10, 2019)
|
|
43
43
|
|
|
44
44
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
## [11.0.3](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.2...v11.0.3) (2019
|
|
47
|
+
## [11.0.3](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.2...v11.0.3) (July 4, 2019)
|
|
48
48
|
|
|
49
49
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
## [11.0.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.1...v11.0.2) (2019
|
|
52
|
+
## [11.0.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.1...v11.0.2) (June 6, 2019)
|
|
53
53
|
|
|
54
54
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
## [11.0.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.0...v11.0.1) (2019
|
|
57
|
+
## [11.0.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v11.0.0...v11.0.1) (April 4, 2019)
|
|
58
58
|
|
|
59
59
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.3...v11.0.0) (2019
|
|
62
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.3...v11.0.0) (February 28, 2019)
|
|
63
63
|
|
|
64
64
|
### BREAKING CHANGES
|
|
65
65
|
|
|
66
66
|
* 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))
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
## [10.1.3](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.2...v10.1.3) (2018
|
|
69
|
+
## [10.1.3](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.2...v10.1.3) (December 5, 2018)
|
|
70
70
|
|
|
71
71
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
## [10.1.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.1...v10.1.2) (2018
|
|
74
|
+
## [10.1.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.1...v10.1.2) (October 8, 2018)
|
|
75
75
|
|
|
76
76
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
## [10.1.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.0...v10.1.1) (2018
|
|
79
|
+
## [10.1.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.1.0...v10.1.1) (July 18, 2018)
|
|
80
80
|
|
|
81
81
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.0.0...v10.1.0) (2018
|
|
84
|
+
## [10.1.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v10.0.0...v10.1.0) (June 21, 2018)
|
|
85
85
|
|
|
86
86
|
### Features
|
|
87
87
|
|
|
88
88
|
* Introduced soft breaks support in the `Essential` plugin. Closes [#6](https://github.com/ckeditor/ckeditor5-essentials/issues/6). ([47c9c8c](https://github.com/ckeditor/ckeditor5-essentials/commit/47c9c8c))
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-beta.4...v10.0.0) (2018
|
|
91
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
|
92
92
|
|
|
93
93
|
### Other changes
|
|
94
94
|
|
|
@@ -99,26 +99,26 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
99
99
|
* 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.
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018
|
|
102
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
|
103
103
|
|
|
104
104
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018
|
|
107
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
|
|
108
108
|
|
|
109
109
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018
|
|
112
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
|
|
113
113
|
|
|
114
114
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
115
115
|
|
|
116
116
|
|
|
117
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017
|
|
117
|
+
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
|
|
118
118
|
|
|
119
119
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
120
120
|
|
|
121
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.3.0...v1.0.0-alpha.1) (2017
|
|
121
|
+
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.3.0...v1.0.0-alpha.1) (October 3, 2017)
|
|
122
122
|
|
|
123
123
|
### Other changes
|
|
124
124
|
|
|
@@ -132,28 +132,28 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
|
132
132
|
* The `Article` plugin was removed.
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
## [0.3.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.2.2...v0.3.0) (2017
|
|
135
|
+
## [0.3.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.2.2...v0.3.0) (September 3, 2017)
|
|
136
136
|
|
|
137
137
|
### Features
|
|
138
138
|
|
|
139
139
|
* Added the autoformat feature to the article preset. ([cb65328](https://github.com/ckeditor/ckeditor5-essentials/commit/cb65328))
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
## [0.2.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.2.1...v0.2.2) (2017
|
|
142
|
+
## [0.2.2](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.2.1...v0.2.2) (May 7, 2017)
|
|
143
143
|
|
|
144
144
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
145
145
|
|
|
146
|
-
## [0.2.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.2.0...v0.2.1) (2017
|
|
146
|
+
## [0.2.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.2.0...v0.2.1) (April 6, 2017)
|
|
147
147
|
|
|
148
148
|
Internal changes only (updated dependencies, documentation, etc.).
|
|
149
149
|
|
|
150
|
-
## [0.2.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.1.1...v0.2.0) (2017
|
|
150
|
+
## [0.2.0](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.1.1...v0.2.0) (April 5, 2017)
|
|
151
151
|
|
|
152
152
|
### Features
|
|
153
153
|
|
|
154
154
|
* Added block quote feature to the article preset. Closes [#4](https://github.com/ckeditor/ckeditor5-essentials/issues/4). ([30d7bd5](https://github.com/ckeditor/ckeditor5-essentials/commit/30d7bd5))
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
## [0.1.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.1.0...v0.1.1) (2017
|
|
157
|
+
## [0.1.1](https://github.com/ckeditor/ckeditor5-essentials/compare/v0.1.0...v0.1.1) (March 6, 2017)
|
|
158
158
|
|
|
159
159
|
Initial release.
|
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 essentials plugin** – https://github.com/ckeditor/ckeditor5-essentials <br>
|
|
5
|
-
Copyright (c) 2003
|
|
5
|
+
Copyright (c) 2003–2023, [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
|
|
|
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
|
|
|
14
14
|
Trademarks
|
|
15
15
|
----------
|
|
16
16
|
|
|
17
|
-
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
|
17
|
+
**CKEditor** is a trademark of [CKSource Holding sp. z o.o.](https://cksource.com) All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.
|
package/ckeditor5-metadata.json
CHANGED
|
@@ -5,18 +5,6 @@
|
|
|
5
5
|
"className": "Essentials",
|
|
6
6
|
"description": "Includes all essential editing features like the clipboard, <kbd>Enter</kbd> and <kbd>Shift</kbd>+<kbd>Enter</kbd> keystrokes, typing and the undo support.",
|
|
7
7
|
"path": "src/essentials.js",
|
|
8
|
-
"uiComponents": [
|
|
9
|
-
{
|
|
10
|
-
"type": "Button",
|
|
11
|
-
"name": "undo",
|
|
12
|
-
"iconPath": "@ckeditor/ckeditor5-undo/theme/icons/undo.svg"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"type": "Button",
|
|
16
|
-
"name": "redo",
|
|
17
|
-
"iconPath": "@ckeditor/ckeditor5-undo/theme/icons/redo.svg"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
8
|
"htmlOutput": [
|
|
21
9
|
{
|
|
22
10
|
"elements": "br"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-essentials",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.2.0",
|
|
4
4
|
"description": "Essential editing features for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"ckeditor5": "40.
|
|
15
|
+
"ckeditor5": "40.2.0"
|
|
16
16
|
},
|
|
17
17
|
"author": "CKSource (http://cksource.com/)",
|
|
18
18
|
"license": "GPL-2.0-or-later",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
import type { Essentials } from './index';
|
|
6
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
-
interface PluginsMap {
|
|
8
|
-
[Essentials.pluginName]: Essentials;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
import type { Essentials } from './index';
|
|
6
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
7
|
+
interface PluginsMap {
|
|
8
|
+
[Essentials.pluginName]: Essentials;
|
|
9
|
+
}
|
|
10
|
+
}
|
package/src/augmentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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 {};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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 {};
|
package/src/essentials.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module essentials/essentials
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Clipboard } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import { Enter, ShiftEnter } from 'ckeditor5/src/enter';
|
|
11
|
-
import { SelectAll } from 'ckeditor5/src/select-all';
|
|
12
|
-
import { Typing } from 'ckeditor5/src/typing';
|
|
13
|
-
import { Undo } from 'ckeditor5/src/undo';
|
|
14
|
-
/**
|
|
15
|
-
* A plugin including all essential editing features. It represents a set of features that enables similar functionalities
|
|
16
|
-
* to a `<textarea>` element.
|
|
17
|
-
*
|
|
18
|
-
* It includes:
|
|
19
|
-
*
|
|
20
|
-
* * {@link module:clipboard/clipboard~Clipboard},
|
|
21
|
-
* * {@link module:enter/enter~Enter},
|
|
22
|
-
* * {@link module:select-all/selectall~SelectAll},
|
|
23
|
-
* * {@link module:enter/shiftenter~ShiftEnter},
|
|
24
|
-
* * {@link module:typing/typing~Typing},
|
|
25
|
-
* * {@link module:undo/undo~Undo}.
|
|
26
|
-
*
|
|
27
|
-
* This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
|
|
28
|
-
* If your editor is supposed to handle block content, make sure to include it.
|
|
29
|
-
*/
|
|
30
|
-
export default class Essentials extends Plugin {
|
|
31
|
-
/**
|
|
32
|
-
* @inheritDoc
|
|
33
|
-
*/
|
|
34
|
-
static get requires(): readonly [typeof Clipboard, typeof Enter, typeof SelectAll, typeof ShiftEnter, typeof Typing, typeof Undo];
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
static get pluginName(): "Essentials";
|
|
39
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module essentials/essentials
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { Clipboard } from 'ckeditor5/src/clipboard';
|
|
10
|
+
import { Enter, ShiftEnter } from 'ckeditor5/src/enter';
|
|
11
|
+
import { SelectAll } from 'ckeditor5/src/select-all';
|
|
12
|
+
import { Typing } from 'ckeditor5/src/typing';
|
|
13
|
+
import { Undo } from 'ckeditor5/src/undo';
|
|
14
|
+
/**
|
|
15
|
+
* A plugin including all essential editing features. It represents a set of features that enables similar functionalities
|
|
16
|
+
* to a `<textarea>` element.
|
|
17
|
+
*
|
|
18
|
+
* It includes:
|
|
19
|
+
*
|
|
20
|
+
* * {@link module:clipboard/clipboard~Clipboard},
|
|
21
|
+
* * {@link module:enter/enter~Enter},
|
|
22
|
+
* * {@link module:select-all/selectall~SelectAll},
|
|
23
|
+
* * {@link module:enter/shiftenter~ShiftEnter},
|
|
24
|
+
* * {@link module:typing/typing~Typing},
|
|
25
|
+
* * {@link module:undo/undo~Undo}.
|
|
26
|
+
*
|
|
27
|
+
* This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
|
|
28
|
+
* If your editor is supposed to handle block content, make sure to include it.
|
|
29
|
+
*/
|
|
30
|
+
export default class Essentials extends Plugin {
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
static get requires(): readonly [typeof Clipboard, typeof Enter, typeof SelectAll, typeof ShiftEnter, typeof Typing, typeof Undo];
|
|
35
|
+
/**
|
|
36
|
+
* @inheritDoc
|
|
37
|
+
*/
|
|
38
|
+
static get pluginName(): "Essentials";
|
|
39
|
+
}
|
package/src/essentials.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module essentials/essentials
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import { Clipboard } from 'ckeditor5/src/clipboard';
|
|
10
|
-
import { Enter, ShiftEnter } from 'ckeditor5/src/enter';
|
|
11
|
-
import { SelectAll } from 'ckeditor5/src/select-all';
|
|
12
|
-
import { Typing } from 'ckeditor5/src/typing';
|
|
13
|
-
import { Undo } from 'ckeditor5/src/undo';
|
|
14
|
-
/**
|
|
15
|
-
* A plugin including all essential editing features. It represents a set of features that enables similar functionalities
|
|
16
|
-
* to a `<textarea>` element.
|
|
17
|
-
*
|
|
18
|
-
* It includes:
|
|
19
|
-
*
|
|
20
|
-
* * {@link module:clipboard/clipboard~Clipboard},
|
|
21
|
-
* * {@link module:enter/enter~Enter},
|
|
22
|
-
* * {@link module:select-all/selectall~SelectAll},
|
|
23
|
-
* * {@link module:enter/shiftenter~ShiftEnter},
|
|
24
|
-
* * {@link module:typing/typing~Typing},
|
|
25
|
-
* * {@link module:undo/undo~Undo}.
|
|
26
|
-
*
|
|
27
|
-
* This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
|
|
28
|
-
* If your editor is supposed to handle block content, make sure to include it.
|
|
29
|
-
*/
|
|
30
|
-
export default class Essentials extends Plugin {
|
|
31
|
-
/**
|
|
32
|
-
* @inheritDoc
|
|
33
|
-
*/
|
|
34
|
-
static get requires() {
|
|
35
|
-
return [Clipboard, Enter, SelectAll, ShiftEnter, Typing, Undo];
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @inheritDoc
|
|
39
|
-
*/
|
|
40
|
-
static get pluginName() {
|
|
41
|
-
return 'Essentials';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module essentials/essentials
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import { Clipboard } from 'ckeditor5/src/clipboard';
|
|
10
|
+
import { Enter, ShiftEnter } from 'ckeditor5/src/enter';
|
|
11
|
+
import { SelectAll } from 'ckeditor5/src/select-all';
|
|
12
|
+
import { Typing } from 'ckeditor5/src/typing';
|
|
13
|
+
import { Undo } from 'ckeditor5/src/undo';
|
|
14
|
+
/**
|
|
15
|
+
* A plugin including all essential editing features. It represents a set of features that enables similar functionalities
|
|
16
|
+
* to a `<textarea>` element.
|
|
17
|
+
*
|
|
18
|
+
* It includes:
|
|
19
|
+
*
|
|
20
|
+
* * {@link module:clipboard/clipboard~Clipboard},
|
|
21
|
+
* * {@link module:enter/enter~Enter},
|
|
22
|
+
* * {@link module:select-all/selectall~SelectAll},
|
|
23
|
+
* * {@link module:enter/shiftenter~ShiftEnter},
|
|
24
|
+
* * {@link module:typing/typing~Typing},
|
|
25
|
+
* * {@link module:undo/undo~Undo}.
|
|
26
|
+
*
|
|
27
|
+
* This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
|
|
28
|
+
* If your editor is supposed to handle block content, make sure to include it.
|
|
29
|
+
*/
|
|
30
|
+
export default class Essentials extends Plugin {
|
|
31
|
+
/**
|
|
32
|
+
* @inheritDoc
|
|
33
|
+
*/
|
|
34
|
+
static get requires() {
|
|
35
|
+
return [Clipboard, Enter, SelectAll, ShiftEnter, Typing, Undo];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @inheritDoc
|
|
39
|
+
*/
|
|
40
|
+
static get pluginName() {
|
|
41
|
+
return 'Essentials';
|
|
42
|
+
}
|
|
43
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module essentials
|
|
7
|
-
*/
|
|
8
|
-
export { default as Essentials } from './essentials';
|
|
9
|
-
import './augmentation';
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module essentials
|
|
7
|
+
*/
|
|
8
|
+
export { default as Essentials } from './essentials';
|
|
9
|
+
import './augmentation';
|
package/src/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module essentials
|
|
7
|
-
*/
|
|
8
|
-
export { default as Essentials } from './essentials';
|
|
9
|
-
import './augmentation';
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module essentials
|
|
7
|
+
*/
|
|
8
|
+
export { default as Essentials } from './essentials';
|
|
9
|
+
import './augmentation';
|
package/build/essentials.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"essentials.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE4C;;AAEQ;AACI;AACH;AACP;AACJ;;AAE1C;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,2CAA2C;AACjD,MAAM,+BAA+B;AACrC,MAAM,4CAA4C;AAClD,MAAM,yCAAyC;AAC/C,MAAM,kCAAkC;AACxC,MAAM,4BAA4B;AAClC;AACA,wEAAwE,2CAA2C;AACnH;AACA;AACA;AACA;AACe,yBAAyB,sDAAM;AAC9C;AACA;AACA;AACA;AACA,WAAW,8DAAS,EAAE,sDAAK,EAAE,+DAAS,EAAE,2DAAU,EAAE,wDAAM,EAAE,oDAAI;AAChE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;ACjDA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;ACNA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEqD","sources":["webpack://CKEditor5.essentials/./src/essentials.js","webpack://CKEditor5.essentials/delegated \"./src/clipboard.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.essentials/delegated \"./src/core.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.essentials/delegated \"./src/enter.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.essentials/delegated \"./src/select-all.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.essentials/delegated \"./src/typing.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.essentials/delegated \"./src/undo.js\" from dll-reference CKEditor5.dll","webpack://CKEditor5.essentials/external var \"CKEditor5.dll\"","webpack://CKEditor5.essentials/webpack/bootstrap","webpack://CKEditor5.essentials/webpack/runtime/define property getters","webpack://CKEditor5.essentials/webpack/runtime/hasOwnProperty shorthand","webpack://CKEditor5.essentials/webpack/runtime/make namespace object","webpack://CKEditor5.essentials/./src/index.js"],"sourcesContent":["/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module essentials/essentials\n */\n\nimport { Plugin } from 'ckeditor5/src/core';\n\nimport { Clipboard } from 'ckeditor5/src/clipboard';\nimport { Enter, ShiftEnter } from 'ckeditor5/src/enter';\nimport { SelectAll } from 'ckeditor5/src/select-all';\nimport { Typing } from 'ckeditor5/src/typing';\nimport { Undo } from 'ckeditor5/src/undo';\n\n/**\n * A plugin including all essential editing features. It represents a set of features that enables similar functionalities\n * to a `<textarea>` element.\n *\n * It includes:\n *\n * * {@link module:clipboard/clipboard~Clipboard},\n * * {@link module:enter/enter~Enter},\n * * {@link module:select-all/selectall~SelectAll},\n * * {@link module:enter/shiftenter~ShiftEnter},\n * * {@link module:typing/typing~Typing},\n * * {@link module:undo/undo~Undo}.\n *\n * This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).\n * If your editor is supposed to handle block content, make sure to include it.\n *\n * @extends module:core/plugin~Plugin\n */\nexport default class Essentials extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get requires() {\n\t\treturn [ Clipboard, Enter, SelectAll, ShiftEnter, Typing, Undo ];\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic get pluginName() {\n\t\treturn 'Essentials';\n\t}\n}\n","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/clipboard.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/core.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/enter.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/select-all.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/typing.js\");","module.exports = (__webpack_require__(/*! dll-reference CKEditor5.dll */ \"dll-reference CKEditor5.dll\"))(\"./src/undo.js\");","module.exports = CKEditor5.dll;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module essentials\n */\n\nexport { default as Essentials } from './essentials';\n"],"names":[],"sourceRoot":""}
|