@ckeditor/ckeditor5-media-embed
Version:
Media embed feature for CKEditor 5.
39 lines (38 loc) • 1 kB
TypeScript
/**
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module media-embed/mediaembedui
*/
import { Plugin } from '@ckeditor/ckeditor5-core';
import { Dialog } from '@ckeditor/ckeditor5-ui';
import { MediaEmbedEditing } from './mediaembedediting.js';
/**
* The media embed UI plugin.
*/
export declare class MediaEmbedUI extends Plugin {
/**
* @inheritDoc
*/
static get requires(): readonly [typeof MediaEmbedEditing, typeof Dialog];
/**
* @inheritDoc
*/
static get pluginName(): "MediaEmbedUI";
/**
* @inheritDoc
*/
static get isOfficialPlugin(): true;
private _formView;
/**
* @inheritDoc
*/
init(): void;
/**
* Creates a button for menu bar that will show media embed dialog.
*/
private _createDialogButton;
private _showDialog;
private _handleSubmitForm;
}