@ckeditor/ckeditor5-code-block 37.0.0-alpha.2 → 37.0.0-alpha.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-code-block",
3
- "version": "37.0.0-alpha.2",
3
+ "version": "37.0.0-alpha.3",
4
4
  "description": "Code block feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,27 +12,27 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^37.0.0-alpha.2"
15
+ "ckeditor5": "^37.0.0-alpha.3"
16
16
  },
17
17
  "devDependencies": {
18
- "@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.2",
19
- "@ckeditor/ckeditor5-autoformat": "^37.0.0-alpha.2",
20
- "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.2",
21
- "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.2",
22
- "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.2",
23
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.2",
18
+ "@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.3",
19
+ "@ckeditor/ckeditor5-autoformat": "^37.0.0-alpha.3",
20
+ "@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
21
+ "@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.3",
22
+ "@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.3",
23
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
24
24
  "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
25
- "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.2",
26
- "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.2",
27
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.2",
28
- "@ckeditor/ckeditor5-image": "^37.0.0-alpha.2",
29
- "@ckeditor/ckeditor5-indent": "^37.0.0-alpha.2",
30
- "@ckeditor/ckeditor5-list": "^37.0.0-alpha.2",
31
- "@ckeditor/ckeditor5-markdown-gfm": "^37.0.0-alpha.2",
32
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.2",
33
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.2",
34
- "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.2",
35
- "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.2",
25
+ "@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
26
+ "@ckeditor/ckeditor5-enter": "^37.0.0-alpha.3",
27
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
28
+ "@ckeditor/ckeditor5-image": "^37.0.0-alpha.3",
29
+ "@ckeditor/ckeditor5-indent": "^37.0.0-alpha.3",
30
+ "@ckeditor/ckeditor5-list": "^37.0.0-alpha.3",
31
+ "@ckeditor/ckeditor5-markdown-gfm": "^37.0.0-alpha.3",
32
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
33
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-undo": "^37.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
36
36
  "typescript": "^4.8.4",
37
37
  "webpack": "^5.58.1",
38
38
  "webpack-cli": "^4.9.0"
@@ -5,7 +5,9 @@
5
5
  /**
6
6
  * @module code-block/codeblock
7
7
  */
8
- import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import CodeBlockEditing from './codeblockediting';
10
+ import CodeBlockUI from './codeblockui';
9
11
  /**
10
12
  * The code block plugin.
11
13
  *
@@ -19,7 +21,7 @@ export default class CodeBlock extends Plugin {
19
21
  /**
20
22
  * @inheritDoc
21
23
  */
22
- static get requires(): PluginDependencies;
24
+ static get requires(): readonly [typeof CodeBlockEditing, typeof CodeBlockUI];
23
25
  /**
24
26
  * @inheritDoc
25
27
  */
@@ -5,7 +5,8 @@
5
5
  /**
6
6
  * @module code-block/codeblockediting
7
7
  */
8
- import { Plugin, type PluginDependencies, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
9
+ import { ShiftEnter } from 'ckeditor5/src/enter';
9
10
  /**
10
11
  * The editing part of the code block feature.
11
12
  *
@@ -19,7 +20,7 @@ export default class CodeBlockEditing extends Plugin {
19
20
  /**
20
21
  * @inheritDoc
21
22
  */
22
- static get requires(): PluginDependencies;
23
+ static get requires(): readonly [typeof ShiftEnter];
23
24
  /**
24
25
  * @inheritDoc
25
26
  */