@ckeditor/ckeditor5-media-embed 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 +18 -18
- package/src/automediaembed.d.ts +5 -2
- package/src/mediaembed.d.ts +6 -2
- package/src/mediaembedtoolbar.d.ts +3 -2
- package/src/mediaembedui.d.ts +3 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-media-embed",
|
3
|
-
"version": "37.0.0-alpha.
|
3
|
+
"version": "37.0.0-alpha.3",
|
4
4
|
"description": "Media embed feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,26 +12,26 @@
|
|
12
12
|
],
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
|
-
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.
|
16
|
-
"ckeditor5": "^37.0.0-alpha.
|
15
|
+
"@ckeditor/ckeditor5-ui": "^37.0.0-alpha.3",
|
16
|
+
"ckeditor5": "^37.0.0-alpha.3"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.
|
20
|
-
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.
|
21
|
-
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^37.0.0-alpha.3",
|
20
|
+
"@ckeditor/ckeditor5-clipboard": "^37.0.0-alpha.3",
|
21
|
+
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.3",
|
22
22
|
"@ckeditor/ckeditor5-dev-utils": "^35.0.0",
|
23
|
-
"@ckeditor/ckeditor5-editor-balloon": "^37.0.0-alpha.
|
24
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.
|
25
|
-
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.
|
26
|
-
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.
|
27
|
-
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.
|
28
|
-
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.
|
29
|
-
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.
|
30
|
-
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.
|
31
|
-
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.
|
32
|
-
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.
|
33
|
-
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.
|
34
|
-
"@ckeditor/ckeditor5-widget": "^37.0.0-alpha.
|
23
|
+
"@ckeditor/ckeditor5-editor-balloon": "^37.0.0-alpha.3",
|
24
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3",
|
25
|
+
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3",
|
26
|
+
"@ckeditor/ckeditor5-image": "^37.0.0-alpha.3",
|
27
|
+
"@ckeditor/ckeditor5-link": "^37.0.0-alpha.3",
|
28
|
+
"@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.3",
|
29
|
+
"@ckeditor/ckeditor5-table": "^37.0.0-alpha.3",
|
30
|
+
"@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.3",
|
31
|
+
"@ckeditor/ckeditor5-typing": "^37.0.0-alpha.3",
|
32
|
+
"@ckeditor/ckeditor5-undo": "^37.0.0-alpha.3",
|
33
|
+
"@ckeditor/ckeditor5-utils": "^37.0.0-alpha.3",
|
34
|
+
"@ckeditor/ckeditor5-widget": "^37.0.0-alpha.3",
|
35
35
|
"typescript": "^4.8.4",
|
36
36
|
"webpack": "^5.58.1",
|
37
37
|
"webpack-cli": "^4.9.0",
|
package/src/automediaembed.d.ts
CHANGED
@@ -5,7 +5,10 @@
|
|
5
5
|
/**
|
6
6
|
* @module media-embed/automediaembed
|
7
7
|
*/
|
8
|
-
import { type Editor, Plugin
|
8
|
+
import { type Editor, Plugin } from 'ckeditor5/src/core';
|
9
|
+
import { Clipboard } from 'ckeditor5/src/clipboard';
|
10
|
+
import { Delete } from 'ckeditor5/src/typing';
|
11
|
+
import { Undo } from 'ckeditor5/src/undo';
|
9
12
|
/**
|
10
13
|
* The auto-media embed plugin. It recognizes media links in the pasted content and embeds
|
11
14
|
* them shortly after they are injected into the document.
|
@@ -14,7 +17,7 @@ export default class AutoMediaEmbed extends Plugin {
|
|
14
17
|
/**
|
15
18
|
* @inheritDoc
|
16
19
|
*/
|
17
|
-
static get requires():
|
20
|
+
static get requires(): readonly [typeof Clipboard, typeof Delete, typeof Undo];
|
18
21
|
/**
|
19
22
|
* @inheritDoc
|
20
23
|
*/
|
package/src/mediaembed.d.ts
CHANGED
@@ -5,7 +5,11 @@
|
|
5
5
|
/**
|
6
6
|
* @module media-embed/mediaembed
|
7
7
|
*/
|
8
|
-
import { Plugin
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
9
|
+
import { Widget } from 'ckeditor5/src/widget';
|
10
|
+
import MediaEmbedEditing from './mediaembedediting';
|
11
|
+
import AutoMediaEmbed from './automediaembed';
|
12
|
+
import MediaEmbedUI from './mediaembedui';
|
9
13
|
import '../theme/mediaembed.css';
|
10
14
|
/**
|
11
15
|
* The media embed plugin.
|
@@ -22,7 +26,7 @@ export default class MediaEmbed extends Plugin {
|
|
22
26
|
/**
|
23
27
|
* @inheritDoc
|
24
28
|
*/
|
25
|
-
static get requires():
|
29
|
+
static get requires(): readonly [typeof MediaEmbedEditing, typeof MediaEmbedUI, typeof AutoMediaEmbed, typeof Widget];
|
26
30
|
/**
|
27
31
|
* @inheritDoc
|
28
32
|
*/
|
@@ -5,7 +5,8 @@
|
|
5
5
|
/**
|
6
6
|
* @module media-embed/mediaembedtoolbar
|
7
7
|
*/
|
8
|
-
import { Plugin
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
9
|
+
import { WidgetToolbarRepository } from 'ckeditor5/src/widget';
|
9
10
|
import './mediaembedconfig';
|
10
11
|
/**
|
11
12
|
* The media embed toolbar plugin. It creates a toolbar for media embed that shows up when the media element is selected.
|
@@ -17,7 +18,7 @@ export default class MediaEmbedToolbar extends Plugin {
|
|
17
18
|
/**
|
18
19
|
* @inheritDoc
|
19
20
|
*/
|
20
|
-
static get requires():
|
21
|
+
static get requires(): readonly [typeof WidgetToolbarRepository];
|
21
22
|
/**
|
22
23
|
* @inheritDoc
|
23
24
|
*/
|
package/src/mediaembedui.d.ts
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
/**
|
6
6
|
* @module media-embed/mediaembedui
|
7
7
|
*/
|
8
|
-
import { Plugin
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
9
|
+
import MediaEmbedEditing from './mediaembedediting';
|
9
10
|
/**
|
10
11
|
* The media embed UI plugin.
|
11
12
|
*/
|
@@ -13,7 +14,7 @@ export default class MediaEmbedUI extends Plugin {
|
|
13
14
|
/**
|
14
15
|
* @inheritDoc
|
15
16
|
*/
|
16
|
-
static get requires():
|
17
|
+
static get requires(): readonly [typeof MediaEmbedEditing];
|
17
18
|
/**
|
18
19
|
* @inheritDoc
|
19
20
|
*/
|