@ckeditor/ckeditor5-typing 37.0.0-alpha.2 → 37.0.0-rc.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-typing",
|
|
3
|
-
"version": "37.0.0-
|
|
3
|
+
"version": "37.0.0-rc.0",
|
|
4
4
|
"description": "Typing feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,35 +12,35 @@
|
|
|
12
12
|
],
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-
|
|
17
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-
|
|
15
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-rc.0",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-rc.0",
|
|
17
|
+
"@ckeditor/ckeditor5-utils": "^37.0.0-rc.0",
|
|
18
18
|
"lodash-es": "^4.17.15"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@ckeditor/ckeditor5-autoformat": "^37.0.0-
|
|
22
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-
|
|
23
|
-
"@ckeditor/ckeditor5-block-quote": "^37.0.0-
|
|
24
|
-
"@ckeditor/ckeditor5-code-block": "^37.0.0-
|
|
25
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-
|
|
26
|
-
"@ckeditor/ckeditor5-enter": "^37.0.0-
|
|
27
|
-
"@ckeditor/ckeditor5-essentials": "^37.0.0-
|
|
28
|
-
"@ckeditor/ckeditor5-heading": "^37.0.0-
|
|
29
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-
|
|
30
|
-
"@ckeditor/ckeditor5-indent": "^37.0.0-
|
|
31
|
-
"@ckeditor/ckeditor5-link": "^37.0.0-
|
|
32
|
-
"@ckeditor/ckeditor5-list": "^37.0.0-
|
|
33
|
-
"@ckeditor/ckeditor5-media-embed": "^37.0.0-
|
|
34
|
-
"@ckeditor/ckeditor5-mention": "^37.0.0-
|
|
35
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-
|
|
36
|
-
"@ckeditor/ckeditor5-table": "^37.0.0-
|
|
37
|
-
"@ckeditor/ckeditor5-undo": "^37.0.0-
|
|
21
|
+
"@ckeditor/ckeditor5-autoformat": "^37.0.0-rc.0",
|
|
22
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-rc.0",
|
|
23
|
+
"@ckeditor/ckeditor5-block-quote": "^37.0.0-rc.0",
|
|
24
|
+
"@ckeditor/ckeditor5-code-block": "^37.0.0-rc.0",
|
|
25
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-rc.0",
|
|
26
|
+
"@ckeditor/ckeditor5-enter": "^37.0.0-rc.0",
|
|
27
|
+
"@ckeditor/ckeditor5-essentials": "^37.0.0-rc.0",
|
|
28
|
+
"@ckeditor/ckeditor5-heading": "^37.0.0-rc.0",
|
|
29
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-rc.0",
|
|
30
|
+
"@ckeditor/ckeditor5-indent": "^37.0.0-rc.0",
|
|
31
|
+
"@ckeditor/ckeditor5-link": "^37.0.0-rc.0",
|
|
32
|
+
"@ckeditor/ckeditor5-list": "^37.0.0-rc.0",
|
|
33
|
+
"@ckeditor/ckeditor5-media-embed": "^37.0.0-rc.0",
|
|
34
|
+
"@ckeditor/ckeditor5-mention": "^37.0.0-rc.0",
|
|
35
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-rc.0",
|
|
36
|
+
"@ckeditor/ckeditor5-table": "^37.0.0-rc.0",
|
|
37
|
+
"@ckeditor/ckeditor5-undo": "^37.0.0-rc.0",
|
|
38
38
|
"typescript": "^4.8.4",
|
|
39
39
|
"webpack": "^5.58.1",
|
|
40
40
|
"webpack-cli": "^4.9.0"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=16.0.0",
|
|
44
44
|
"npm": ">=5.7.1"
|
|
45
45
|
},
|
|
46
46
|
"author": "CKSource (http://cksource.com/)",
|
package/src/deleteobserver.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export default class DeleteObserver extends Observer {
|
|
|
15
15
|
* @inheritDoc
|
|
16
16
|
*/
|
|
17
17
|
observe(): void;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
stopObserving(): void;
|
|
18
22
|
}
|
|
19
23
|
/**
|
|
20
24
|
* Event fired when the user tries to delete content (e.g. presses <kbd>Delete</kbd> or <kbd>Backspace</kbd>).
|
package/src/deleteobserver.js
CHANGED
|
@@ -162,6 +162,10 @@ export default class DeleteObserver extends Observer {
|
|
|
162
162
|
* @inheritDoc
|
|
163
163
|
*/
|
|
164
164
|
observe() { }
|
|
165
|
+
/**
|
|
166
|
+
* @inheritDoc
|
|
167
|
+
*/
|
|
168
|
+
stopObserving() { }
|
|
165
169
|
}
|
|
166
170
|
/**
|
|
167
171
|
* Enables workaround for the issue https://github.com/ckeditor/ckeditor5/issues/11904.
|
|
@@ -15,6 +15,10 @@ export default class InsertTextObserver extends Observer {
|
|
|
15
15
|
* @inheritDoc
|
|
16
16
|
*/
|
|
17
17
|
observe(): void;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
stopObserving(): void;
|
|
18
22
|
}
|
|
19
23
|
/**
|
|
20
24
|
* Event fired when the user types text, for instance presses <kbd>A</kbd> or <kbd>?</kbd> in the
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module typing/texttransformation
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin, type Editor
|
|
8
|
+
import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
|
|
9
9
|
/**
|
|
10
10
|
* The text transformation plugin.
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ export default class TextTransformation extends Plugin {
|
|
|
13
13
|
/**
|
|
14
14
|
* @inheritDoc
|
|
15
15
|
*/
|
|
16
|
-
static get requires():
|
|
16
|
+
static get requires(): readonly ["Delete", "Input"];
|
|
17
17
|
/**
|
|
18
18
|
* @inheritDoc
|
|
19
19
|
*/
|
package/src/typing.d.ts
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module typing/typing
|
|
7
7
|
*/
|
|
8
|
-
import { Plugin
|
|
8
|
+
import { Plugin } from '@ckeditor/ckeditor5-core';
|
|
9
|
+
import Input from './input';
|
|
10
|
+
import Delete from './delete';
|
|
9
11
|
/**
|
|
10
12
|
* The typing feature. It handles typing.
|
|
11
13
|
*
|
|
@@ -13,7 +15,7 @@ import { Plugin, type PluginDependencies } from '@ckeditor/ckeditor5-core';
|
|
|
13
15
|
* plugins.
|
|
14
16
|
*/
|
|
15
17
|
export default class Typing extends Plugin {
|
|
16
|
-
static get requires():
|
|
18
|
+
static get requires(): readonly [typeof Input, typeof Delete];
|
|
17
19
|
/**
|
|
18
20
|
* @inheritDoc
|
|
19
21
|
*/
|