UNPKG

800 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module media-embed/mediaembedediting
7 */
8import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9import MediaRegistry from './mediaregistry.js';
10import '../theme/mediaembedediting.css';
11/**
12 * The media embed editing feature.
13 */
14export default class MediaEmbedEditing extends Plugin {
15 /**
16 * @inheritDoc
17 */
18 static get pluginName(): "MediaEmbedEditing";
19 /**
20 * The media registry managing the media providers in the editor.
21 */
22 registry: MediaRegistry;
23 /**
24 * @inheritDoc
25 */
26 constructor(editor: Editor);
27 /**
28 * @inheritDoc
29 */
30 init(): void;
31}