UNPKG

@ckeditor/ckeditor5-select-all

Version:

Select all feature for CKEditor 5.

34 lines (33 loc) 964 B
/** * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module select-all/selectallui */ import { Plugin } from '@ckeditor/ckeditor5-core'; /** * The select all UI feature. * * It registers the `'selectAll'` UI button in the editor's * {@link module:ui/componentfactory~ComponentFactory component factory}. When clicked, the button * executes the {@link module:select-all/selectallcommand~SelectAllCommand select all command}. */ export declare class SelectAllUI extends Plugin { /** * @inheritDoc */ static get pluginName(): "SelectAllUI"; /** * @inheritDoc */ static get isOfficialPlugin(): true; /** * @inheritDoc */ init(): void; /** * Creates a button for select all command to use either in toolbar or in menu bar. */ private _createButton; }