@ckeditor/ckeditor5-code-block 37.0.0-alpha.1 → 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 +19 -19
- package/src/codeblock.d.ts +4 -2
- package/src/codeblockediting.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-code-block",
|
|
3
|
-
"version": "37.0.0-alpha.
|
|
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.
|
|
15
|
+
"ckeditor5": "^37.0.0-alpha.3"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@ckeditor/ckeditor5-alignment": "^37.0.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-autoformat": "^37.0.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-block-quote": "^37.0.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.
|
|
23
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
|
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.
|
|
26
|
-
"@ckeditor/ckeditor5-enter": "^37.0.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-indent": "^37.0.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-list": "^37.0.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-markdown-gfm": "^37.0.0-alpha.
|
|
32
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
|
33
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.
|
|
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"
|
package/src/codeblock.d.ts
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module code-block/codeblock
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
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():
|
|
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
|
|
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():
|
|
23
|
+
static get requires(): readonly [typeof ShiftEnter];
|
|
23
24
|
/**
|
|
24
25
|
* @inheritDoc
|
|
25
26
|
*/
|