@ckeditor/ckeditor5-paragraph 35.3.1 → 35.4.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/ckeditor5-metadata.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"elements": "p",
|
|
11
11
|
"implements": "$block",
|
|
12
|
-
"_comment": "
|
|
12
|
+
"_comment": "This element inherits all attributes, classes and styles that are allowed on the `<$block>` element by other features."
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-paragraph",
|
|
3
|
-
"version": "35.
|
|
3
|
+
"version": "35.4.0",
|
|
4
4
|
"description": "Paragraph feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "^35.
|
|
16
|
-
"@ckeditor/ckeditor5-ui": "^35.
|
|
17
|
-
"@ckeditor/ckeditor5-utils": "^35.
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^35.4.0",
|
|
16
|
+
"@ckeditor/ckeditor5-ui": "^35.4.0",
|
|
17
|
+
"@ckeditor/ckeditor5-utils": "^35.4.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@ckeditor/ckeditor5-basic-styles": "^35.
|
|
21
|
-
"@ckeditor/ckeditor5-clipboard": "^35.
|
|
22
|
-
"@ckeditor/ckeditor5-editor-classic": "^35.
|
|
23
|
-
"@ckeditor/ckeditor5-engine": "^35.
|
|
24
|
-
"@ckeditor/ckeditor5-enter": "^35.
|
|
25
|
-
"@ckeditor/ckeditor5-heading": "^35.
|
|
26
|
-
"@ckeditor/ckeditor5-link": "^35.
|
|
27
|
-
"@ckeditor/ckeditor5-typing": "^35.
|
|
28
|
-
"@ckeditor/ckeditor5-undo": "^35.
|
|
20
|
+
"@ckeditor/ckeditor5-basic-styles": "^35.4.0",
|
|
21
|
+
"@ckeditor/ckeditor5-clipboard": "^35.4.0",
|
|
22
|
+
"@ckeditor/ckeditor5-editor-classic": "^35.4.0",
|
|
23
|
+
"@ckeditor/ckeditor5-engine": "^35.4.0",
|
|
24
|
+
"@ckeditor/ckeditor5-enter": "^35.4.0",
|
|
25
|
+
"@ckeditor/ckeditor5-heading": "^35.4.0",
|
|
26
|
+
"@ckeditor/ckeditor5-link": "^35.4.0",
|
|
27
|
+
"@ckeditor/ckeditor5-typing": "^35.4.0",
|
|
28
|
+
"@ckeditor/ckeditor5-undo": "^35.4.0",
|
|
29
29
|
"typescript": "^4.8.4",
|
|
30
30
|
"webpack": "^5.58.1",
|
|
31
31
|
"webpack-cli": "^4.9.0"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module paragraph/insertparagraphcommand
|
|
7
7
|
*/
|
|
8
|
-
import Command from '@ckeditor/ckeditor5-core
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The insert paragraph command. It inserts a new paragraph at a specific
|
|
11
11
|
* {@link module:engine/model/position~Position document position}.
|
package/src/paragraph.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import ParagraphCommand from './paragraphcommand';
|
|
9
9
|
import InsertParagraphCommand from './insertparagraphcommand';
|
|
10
|
-
import Plugin from '@ckeditor/ckeditor5-core
|
|
10
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
11
11
|
/**
|
|
12
12
|
* The paragraph feature for the editor.
|
|
13
13
|
*
|
package/src/paragraphbuttonui.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module paragraph/paragraphbuttonui
|
|
7
7
|
*/
|
|
8
|
-
import Plugin from '@ckeditor/ckeditor5-core
|
|
9
|
-
import ButtonView from '@ckeditor/ckeditor5-ui
|
|
10
|
-
|
|
8
|
+
import { Plugin, icons } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { ButtonView } from '@ckeditor/ckeditor5-ui';
|
|
10
|
+
const icon = icons.paragraph;
|
|
11
11
|
/**
|
|
12
12
|
* This plugin defines the `'paragraph'` button. It can be used together with
|
|
13
13
|
* {@link module:heading/headingbuttonsui~HeadingButtonsUI} to replace the standard heading dropdown.
|
package/src/paragraphcommand.js
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module paragraph/paragraphcommand
|
|
7
7
|
*/
|
|
8
|
-
import Command from '@ckeditor/ckeditor5-core
|
|
9
|
-
import first from '@ckeditor/ckeditor5-utils
|
|
8
|
+
import { Command } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import { first } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* The paragraph command.
|
|
12
12
|
*
|