UNPKG

ckeditor5-image-upload-base64

Version:

The development environment of CKEditor 5 – the best browser-based rich text editor.

52 lines (46 loc) 1.56 kB
/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @module indent/indent */ import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; import IndentEditing from './indentediting'; import IndentUI from './indentui'; /** * The indent feature. * * This plugin acts as a single entry point plugin for other features that implement indentation of elements like lists or paragraphs. * * The compatible features are: * * * The {@link module:list/list~List} or {@link module:list/listediting~ListEditing} feature for list indentation. * * The {@link module:indent/indentblock~IndentBlock} feature for block indentation. * * This is a "glue" plugin that loads the following plugins: * * * The {@link module:indent/indentediting~IndentEditing indent editing feature}. * * The {@link module:indent/indentui~IndentUI indent UI feature}. * * The dependent plugins register the `'indent'` and `'outdent'` commands and introduce the `'indent'` and `'outdent'` buttons * that allow to increase or decrease text indentation of supported elements. * * **Note**: In order for the commands and buttons to work, at least one of compatible features is required. * * @extends module:core/plugin~Plugin */ export default class Indent extends Plugin { /** * @inheritDoc */ static get pluginName() { return 'Indent'; } /** * @inheritDoc */ static get requires() { return [ IndentEditing, IndentUI ]; } }