@ckeditor/ckeditor5-essentials 0.0.0-internal-20241017.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 ADDED
@@ -0,0 +1,4 @@
1
+ Changelog
2
+ =========
3
+
4
+ All changes in the package are documented in https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
package/LICENSE.md ADDED
@@ -0,0 +1,17 @@
1
+ Software License Agreement
2
+ ==========================
3
+
4
+ **CKEditor&nbsp;5 essentials plugin** – https://github.com/ckeditor/ckeditor5-essentials <br>
5
+ Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
+
7
+ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
8
+
9
+ Sources of Intellectual Property Included in CKEditor
10
+ -----------------------------------------------------
11
+
12
+ Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
13
+
14
+ Trademarks
15
+ ----------
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.
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ CKEditor&nbsp;5 essentials plugin
2
+ ========================================
3
+
4
+ [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-essentials.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-essentials)
5
+ [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
+ [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
+
8
+ Essential editing features for CKEditor&nbsp;5 wrapped in one plugin.
9
+
10
+ The [`Essentials`](https://ckeditor.com/docs/ckeditor5/latest/api/module_essentials_essentials-Essentials.html) plugin includes all fundamental editing features:
11
+
12
+ * [`Clipboard`](https://ckeditor.com/docs/ckeditor5/latest/api/module_clipboard_clipboard-Clipboard.html)
13
+ * [`Enter`](https://ckeditor.com/docs/ckeditor5/latest/api/module_enter_enter-Enter.html)
14
+ * [`SelectAll`](https://ckeditor.com/docs/ckeditor5/latest/api/module_select-all_selectall-SelectAll.html)
15
+ * [`Typing`](https://ckeditor.com/docs/ckeditor5/latest/api/module_typing_typing-Typing.html)
16
+ * [`Undo`](https://ckeditor.com/docs/ckeditor5/latest/api/module_undo_undo-Undo.html)
17
+
18
+ ## Documentation
19
+
20
+ See the [`@ckeditor/ckeditor5-essentials` package](https://ckeditor.com/docs/ckeditor5/latest/api/essentials.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
21
+
22
+ ## Installation
23
+
24
+ ```bash
25
+ npm install ckeditor5
26
+ ```
27
+
28
+ ## License
29
+
30
+ Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md.
4
+ */(()=>{var e={331:(e,r,t)=>{e.exports=t(237)("./src/clipboard.js")},782:(e,r,t)=>{e.exports=t(237)("./src/core.js")},507:(e,r,t)=>{e.exports=t(237)("./src/enter.js")},727:(e,r,t)=>{e.exports=t(237)("./src/select-all.js")},834:(e,r,t)=>{e.exports=t(237)("./src/typing.js")},311:(e,r,t)=>{e.exports=t(237)("./src/ui.js")},251:(e,r,t)=>{e.exports=t(237)("./src/undo.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},r={};function t(s){var o=r[s];if(void 0!==o)return o.exports;var i=r[s]={exports:{}};return e[s](i,i.exports,t),i.exports}t.d=(e,r)=>{for(var s in r)t.o(r,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:r[s]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{"use strict";t.r(s),t.d(s,{Essentials:()=>a});var e=t(782),r=t(331),o=t(507),i=t(727),n=t(834),l=t(251),c=t(311);class a extends e.Plugin{static get requires(){return[c.AccessibilityHelp,r.Clipboard,o.Enter,i.SelectAll,o.ShiftEnter,n.Typing,l.Undo]}static get pluginName(){return"Essentials"}static get isOfficialPlugin(){return!0}}})(),(window.CKEditor5=window.CKEditor5||{}).essentials=s})();
@@ -0,0 +1,15 @@
1
+ {
2
+ "plugins": [
3
+ {
4
+ "name": "Essentials",
5
+ "className": "Essentials",
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
+ "path": "src/essentials.js",
8
+ "htmlOutput": [
9
+ {
10
+ "elements": "br"
11
+ }
12
+ ]
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,14 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { Essentials } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface PluginsMap {
12
+ [Essentials.pluginName]: Essentials;
13
+ }
14
+ }
@@ -0,0 +1,48 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module essentials/essentials
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import { Clipboard } from 'ckeditor5/src/clipboard.js';
14
+ import { Enter, ShiftEnter } from 'ckeditor5/src/enter.js';
15
+ import { SelectAll } from 'ckeditor5/src/select-all.js';
16
+ import { Typing } from 'ckeditor5/src/typing.js';
17
+ import { Undo } from 'ckeditor5/src/undo.js';
18
+ import { AccessibilityHelp } from 'ckeditor5/src/ui.js';
19
+ /**
20
+ * A plugin including all essential editing features. It represents a set of features that enables similar functionalities
21
+ * to a `<textarea>` element.
22
+ *
23
+ * It includes:
24
+ *
25
+ * * {@link module:clipboard/clipboard~Clipboard},
26
+ * * {@link module:enter/enter~Enter},
27
+ * * {@link module:select-all/selectall~SelectAll},
28
+ * * {@link module:enter/shiftenter~ShiftEnter},
29
+ * * {@link module:typing/typing~Typing},
30
+ * * {@link module:undo/undo~Undo}.
31
+ *
32
+ * This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
33
+ * If your editor is supposed to handle block content, make sure to include it.
34
+ */
35
+ export default class Essentials extends Plugin {
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ static get requires(): readonly [typeof AccessibilityHelp, typeof Clipboard, typeof Enter, typeof SelectAll, typeof ShiftEnter, typeof Typing, typeof Undo];
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ static get pluginName(): "Essentials";
44
+ /**
45
+ * @inheritDoc
46
+ */
47
+ static get isOfficialPlugin(): true;
48
+ }
@@ -0,0 +1,4 @@
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
+ */
@@ -0,0 +1,4 @@
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
+ */
package/dist/index.css ADDED
@@ -0,0 +1,4 @@
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
+ */
@@ -0,0 +1,13 @@
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
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module essentials
11
+ */
12
+ export { default as Essentials } from './essentials.js';
13
+ import './augmentation.js';
package/dist/index.js ADDED
@@ -0,0 +1,55 @@
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
+ import { Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';
6
+ import { Clipboard } from '@ckeditor/ckeditor5-clipboard/dist/index.js';
7
+ import { Enter, ShiftEnter } from '@ckeditor/ckeditor5-enter/dist/index.js';
8
+ import { SelectAll } from '@ckeditor/ckeditor5-select-all/dist/index.js';
9
+ import { Typing } from '@ckeditor/ckeditor5-typing/dist/index.js';
10
+ import { Undo } from '@ckeditor/ckeditor5-undo/dist/index.js';
11
+ import { AccessibilityHelp } from '@ckeditor/ckeditor5-ui/dist/index.js';
12
+
13
+ /**
14
+ * A plugin including all essential editing features. It represents a set of features that enables similar functionalities
15
+ * to a `<textarea>` element.
16
+ *
17
+ * It includes:
18
+ *
19
+ * * {@link module:clipboard/clipboard~Clipboard},
20
+ * * {@link module:enter/enter~Enter},
21
+ * * {@link module:select-all/selectall~SelectAll},
22
+ * * {@link module:enter/shiftenter~ShiftEnter},
23
+ * * {@link module:typing/typing~Typing},
24
+ * * {@link module:undo/undo~Undo}.
25
+ *
26
+ * This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
27
+ * If your editor is supposed to handle block content, make sure to include it.
28
+ */ class Essentials extends Plugin {
29
+ /**
30
+ * @inheritDoc
31
+ */ static get requires() {
32
+ return [
33
+ AccessibilityHelp,
34
+ Clipboard,
35
+ Enter,
36
+ SelectAll,
37
+ ShiftEnter,
38
+ Typing,
39
+ Undo
40
+ ];
41
+ }
42
+ /**
43
+ * @inheritDoc
44
+ */ static get pluginName() {
45
+ return 'Essentials';
46
+ }
47
+ /**
48
+ * @inheritDoc
49
+ */ static get isOfficialPlugin() {
50
+ return true;
51
+ }
52
+ }
53
+
54
+ export { Essentials };
55
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["index.js","../src/essentials.ts"],"names":["Essentials","Plugin","requires","AccessibilityHelp","Clipboard","Enter","SelectAll","ShiftEnter","Typing","Undo","pluginName","isOfficialPlugin"],"mappings":";;;;AAAA,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AAC/D,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;AACvE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK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A,CAAA,GAAA,CAA2BC,gBAAyB,CAAA,CAAA,CAAA;ADPrD,CCQE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,MAAA,CAAO,IAAA;AACR,CAAA,CAAA,CAAA,CAAA;AACD;;ADNA,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;AACrB,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,CAAC","file":"index.js.map","sourcesContent":["import { Plugin } from '@ckeditor/ckeditor5-core/dist/index.js';\nimport { Clipboard } from '@ckeditor/ckeditor5-clipboard/dist/index.js';\nimport { Enter, ShiftEnter } from '@ckeditor/ckeditor5-enter/dist/index.js';\nimport { SelectAll } from '@ckeditor/ckeditor5-select-all/dist/index.js';\nimport { Typing } from '@ckeditor/ckeditor5-typing/dist/index.js';\nimport { Undo } from '@ckeditor/ckeditor5-undo/dist/index.js';\nimport { AccessibilityHelp } from '@ckeditor/ckeditor5-ui/dist/index.js';\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 */ class Essentials extends Plugin {\n /**\n\t * @inheritDoc\n\t */ static get requires() {\n return [\n AccessibilityHelp,\n Clipboard,\n Enter,\n SelectAll,\n ShiftEnter,\n Typing,\n Undo\n ];\n }\n /**\n\t * @inheritDoc\n\t */ static get pluginName() {\n return 'Essentials';\n }\n /**\n\t * @inheritDoc\n\t */ static get isOfficialPlugin() {\n return true;\n }\n}\n\nexport { Essentials };\n//# sourceMappingURL=index.js.map\n","/**\n * @license Copyright (c) 2003-2024, 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.js';\n\nimport { Clipboard } from 'ckeditor5/src/clipboard.js';\nimport { Enter, ShiftEnter } from 'ckeditor5/src/enter.js';\nimport { SelectAll } from 'ckeditor5/src/select-all.js';\nimport { Typing } from 'ckeditor5/src/typing.js';\nimport { Undo } from 'ckeditor5/src/undo.js';\nimport { AccessibilityHelp } from 'ckeditor5/src/ui.js';\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 */\nexport default class Essentials extends Plugin {\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get requires() {\n\t\treturn [ AccessibilityHelp, Clipboard, Enter, SelectAll, ShiftEnter, Typing, Undo ] as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static get pluginName() {\n\t\treturn 'Essentials' as const;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tpublic static override get isOfficialPlugin(): true {\n\t\treturn true;\n\t}\n}\n"]}
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@ckeditor/ckeditor5-essentials",
3
+ "version": "0.0.0-internal-20241017.0",
4
+ "description": "Essential editing features for CKEditor 5.",
5
+ "keywords": [
6
+ "ckeditor",
7
+ "ckeditor5",
8
+ "ckeditor 5",
9
+ "ckeditor5-feature",
10
+ "ckeditor5-plugin",
11
+ "ckeditor5-dll"
12
+ ],
13
+ "type": "module",
14
+ "main": "src/index.js",
15
+ "dependencies": {
16
+ "@ckeditor/ckeditor5-clipboard": "0.0.0-internal-20241017.0",
17
+ "@ckeditor/ckeditor5-core": "0.0.0-internal-20241017.0",
18
+ "@ckeditor/ckeditor5-enter": "0.0.0-internal-20241017.0",
19
+ "@ckeditor/ckeditor5-select-all": "0.0.0-internal-20241017.0",
20
+ "@ckeditor/ckeditor5-typing": "0.0.0-internal-20241017.0",
21
+ "@ckeditor/ckeditor5-ui": "0.0.0-internal-20241017.0",
22
+ "@ckeditor/ckeditor5-undo": "0.0.0-internal-20241017.0",
23
+ "ckeditor5": "0.0.0-internal-20241017.0"
24
+ },
25
+ "author": "CKSource (http://cksource.com/)",
26
+ "license": "GPL-2.0-or-later",
27
+ "homepage": "https://ckeditor.com/ckeditor-5",
28
+ "bugs": "https://github.com/ckeditor/ckeditor5/issues",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/ckeditor/ckeditor5.git",
32
+ "directory": "packages/ckeditor5-essentials"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "lang",
37
+ "src/**/*.js",
38
+ "src/**/*.d.ts",
39
+ "theme",
40
+ "build",
41
+ "ckeditor5-metadata.json",
42
+ "CHANGELOG.md"
43
+ ],
44
+ "types": "src/index.d.ts"
45
+ }
@@ -0,0 +1,10 @@
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
+ import type { Essentials } from './index.js';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [Essentials.pluginName]: Essentials;
9
+ }
10
+ }
@@ -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 {};
@@ -0,0 +1,44 @@
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
+ * @module essentials/essentials
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Clipboard } from 'ckeditor5/src/clipboard.js';
10
+ import { Enter, ShiftEnter } from 'ckeditor5/src/enter.js';
11
+ import { SelectAll } from 'ckeditor5/src/select-all.js';
12
+ import { Typing } from 'ckeditor5/src/typing.js';
13
+ import { Undo } from 'ckeditor5/src/undo.js';
14
+ import { AccessibilityHelp } from 'ckeditor5/src/ui.js';
15
+ /**
16
+ * A plugin including all essential editing features. It represents a set of features that enables similar functionalities
17
+ * to a `<textarea>` element.
18
+ *
19
+ * It includes:
20
+ *
21
+ * * {@link module:clipboard/clipboard~Clipboard},
22
+ * * {@link module:enter/enter~Enter},
23
+ * * {@link module:select-all/selectall~SelectAll},
24
+ * * {@link module:enter/shiftenter~ShiftEnter},
25
+ * * {@link module:typing/typing~Typing},
26
+ * * {@link module:undo/undo~Undo}.
27
+ *
28
+ * This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
29
+ * If your editor is supposed to handle block content, make sure to include it.
30
+ */
31
+ export default class Essentials extends Plugin {
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get requires(): readonly [typeof AccessibilityHelp, typeof Clipboard, typeof Enter, typeof SelectAll, typeof ShiftEnter, typeof Typing, typeof Undo];
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ static get pluginName(): "Essentials";
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ static get isOfficialPlugin(): true;
44
+ }
@@ -0,0 +1,50 @@
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
+ * @module essentials/essentials
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Clipboard } from 'ckeditor5/src/clipboard.js';
10
+ import { Enter, ShiftEnter } from 'ckeditor5/src/enter.js';
11
+ import { SelectAll } from 'ckeditor5/src/select-all.js';
12
+ import { Typing } from 'ckeditor5/src/typing.js';
13
+ import { Undo } from 'ckeditor5/src/undo.js';
14
+ import { AccessibilityHelp } from 'ckeditor5/src/ui.js';
15
+ /**
16
+ * A plugin including all essential editing features. It represents a set of features that enables similar functionalities
17
+ * to a `<textarea>` element.
18
+ *
19
+ * It includes:
20
+ *
21
+ * * {@link module:clipboard/clipboard~Clipboard},
22
+ * * {@link module:enter/enter~Enter},
23
+ * * {@link module:select-all/selectall~SelectAll},
24
+ * * {@link module:enter/shiftenter~ShiftEnter},
25
+ * * {@link module:typing/typing~Typing},
26
+ * * {@link module:undo/undo~Undo}.
27
+ *
28
+ * This plugin set does not define any block-level containers (such as {@link module:paragraph/paragraph~Paragraph}).
29
+ * If your editor is supposed to handle block content, make sure to include it.
30
+ */
31
+ export default class Essentials extends Plugin {
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get requires() {
36
+ return [AccessibilityHelp, Clipboard, Enter, SelectAll, ShiftEnter, Typing, Undo];
37
+ }
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ static get pluginName() {
42
+ return 'Essentials';
43
+ }
44
+ /**
45
+ * @inheritDoc
46
+ */
47
+ static get isOfficialPlugin() {
48
+ return true;
49
+ }
50
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,9 @@
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
+ * @module essentials
7
+ */
8
+ export { default as Essentials } from './essentials.js';
9
+ import './augmentation.js';
package/src/index.js ADDED
@@ -0,0 +1,9 @@
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
+ * @module essentials
7
+ */
8
+ export { default as Essentials } from './essentials.js';
9
+ import './augmentation.js';