@ckeditor/ckeditor5-paragraph 40.2.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/LICENSE.md +1 -1
- package/package.json +5 -4
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/index.d.ts +6 -6
- package/src/index.js +4 -4
- package/src/insertparagraphcommand.d.ts +1 -1
- package/src/insertparagraphcommand.js +1 -1
- package/src/paragraph.d.ts +1 -1
- package/src/paragraph.js +5 -4
- package/src/paragraphbuttonui.d.ts +2 -2
- package/src/paragraphbuttonui.js +2 -2
- package/src/paragraphcommand.d.ts +1 -1
- package/src/paragraphcommand.js +1 -1
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 paragraph feature** – https://github.com/ckeditor/ckeditor5-paragraph <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-paragraph",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.0.0",
|
|
4
4
|
"description": "Paragraph 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-ui": "
|
|
17
|
-
"@ckeditor/ckeditor5-utils": "
|
|
16
|
+
"@ckeditor/ckeditor5-core": "41.0.0",
|
|
17
|
+
"@ckeditor/ckeditor5-ui": "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 { Paragraph, ParagraphCommand, InsertParagraphCommand } from './index';
|
|
5
|
+
import type { Paragraph, ParagraphCommand, InsertParagraphCommand } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface CommandsMap {
|
|
8
8
|
insertParagraph: InsertParagraphCommand;
|
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/index.d.ts
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 paragraph
|
|
7
7
|
*/
|
|
8
|
-
export { default as Paragraph } from './paragraph';
|
|
9
|
-
export { default as ParagraphButtonUI } from './paragraphbuttonui';
|
|
10
|
-
export type { default as ParagraphCommand } from './paragraphcommand';
|
|
11
|
-
export type { default as InsertParagraphCommand } from './insertparagraphcommand';
|
|
12
|
-
import './augmentation';
|
|
8
|
+
export { default as Paragraph } from './paragraph.js';
|
|
9
|
+
export { default as ParagraphButtonUI } from './paragraphbuttonui.js';
|
|
10
|
+
export type { default as ParagraphCommand } from './paragraphcommand.js';
|
|
11
|
+
export type { default as InsertParagraphCommand } from './insertparagraphcommand.js';
|
|
12
|
+
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 paragraph
|
|
7
7
|
*/
|
|
8
|
-
export { default as Paragraph } from './paragraph';
|
|
9
|
-
export { default as ParagraphButtonUI } from './paragraphbuttonui';
|
|
10
|
-
import './augmentation';
|
|
8
|
+
export { default as Paragraph } from './paragraph.js';
|
|
9
|
+
export { default as ParagraphButtonUI } from './paragraphbuttonui.js';
|
|
10
|
+
import './augmentation.js';
|
|
@@ -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
|
/**
|
|
@@ -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/paragraph.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/paragraph.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 paragraph/paragraph
|
|
7
7
|
*/
|
|
8
|
-
import ParagraphCommand from './paragraphcommand';
|
|
9
|
-
import InsertParagraphCommand from './insertparagraphcommand';
|
|
8
|
+
import ParagraphCommand from './paragraphcommand.js';
|
|
9
|
+
import InsertParagraphCommand from './insertparagraphcommand.js';
|
|
10
10
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
/**
|
|
12
12
|
* The paragraph feature for the editor.
|
|
@@ -20,7 +20,7 @@ import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
|
20
20
|
* * The {@link module:paragraph/insertparagraphcommand~InsertParagraphCommand `'insertParagraph'`} command
|
|
21
21
|
* that inserts a new paragraph at a specified location in the model.
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
class Paragraph extends Plugin {
|
|
24
24
|
/**
|
|
25
25
|
* @inheritDoc
|
|
26
26
|
*/
|
|
@@ -104,3 +104,4 @@ Paragraph.paragraphLikeElements = new Set([
|
|
|
104
104
|
'td',
|
|
105
105
|
'th'
|
|
106
106
|
]);
|
|
107
|
+
export default Paragraph;
|
|
@@ -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 paragraph/paragraphbuttonui
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
-
import Paragraph from './paragraph';
|
|
9
|
+
import Paragraph from './paragraph.js';
|
|
10
10
|
/**
|
|
11
11
|
* This plugin defines the `'paragraph'` button. It can be used together with
|
|
12
12
|
* {@link module:heading/headingbuttonsui~HeadingButtonsUI} to replace the standard heading dropdown.
|
package/src/paragraphbuttonui.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
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin, icons } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
10
|
-
import Paragraph from './paragraph';
|
|
10
|
+
import Paragraph from './paragraph.js';
|
|
11
11
|
const icon = icons.paragraph;
|
|
12
12
|
/**
|
|
13
13
|
* This plugin defines the `'paragraph'` button. It can be used together with
|
|
@@ -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/paragraphcommand.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
|
/**
|