@ckeditor/ckeditor5-paragraph 35.3.2 → 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.
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "elements": "p",
11
11
  "implements": "$block",
12
- "_comment": "The HTML element may contain classes, styles or attributes that are created by other plugins, which alter the <code>`$block`</code> element."
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.2",
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.3.2",
16
- "@ckeditor/ckeditor5-ui": "^35.3.2",
17
- "@ckeditor/ckeditor5-utils": "^35.3.2"
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.3.2",
21
- "@ckeditor/ckeditor5-clipboard": "^35.3.2",
22
- "@ckeditor/ckeditor5-editor-classic": "^35.3.2",
23
- "@ckeditor/ckeditor5-engine": "^35.3.2",
24
- "@ckeditor/ckeditor5-enter": "^35.3.2",
25
- "@ckeditor/ckeditor5-heading": "^35.3.2",
26
- "@ckeditor/ckeditor5-link": "^35.3.2",
27
- "@ckeditor/ckeditor5-typing": "^35.3.2",
28
- "@ckeditor/ckeditor5-undo": "^35.3.2",
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/src/command';
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/src/plugin';
10
+ import { Plugin } from '@ckeditor/ckeditor5-core';
11
11
  /**
12
12
  * The paragraph feature for the editor.
13
13
  *
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module paragraph/paragraphbuttonui
7
7
  */
8
- import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
9
- import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
10
- import icon from '@ckeditor/ckeditor5-core/theme/icons/paragraph.svg';
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.
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module paragraph/paragraphcommand
7
7
  */
8
- import Command from '@ckeditor/ckeditor5-core/src/command';
9
- import first from '@ckeditor/ckeditor5-utils/src/first';
8
+ import { Command } from '@ckeditor/ckeditor5-core';
9
+ import { first } from '@ckeditor/ckeditor5-utils';
10
10
  /**
11
11
  * The paragraph command.
12
12
  *