UNPKG

@ckeditor/ckeditor5-remove-format

Version:

Remove format feature for CKEditor 5.

33 lines (32 loc) 1.06 kB
/** * @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 remove-format/removeformat */ import { Plugin } from 'ckeditor5/src/core.js'; import RemoveFormatUI from './removeformatui.js'; import RemoveFormatEditing from './removeformatediting.js'; /** * The remove format plugin. * * This is a "glue" plugin which loads the {@link module:remove-format/removeformatediting~RemoveFormatEditing} * and {@link module:remove-format/removeformatui~RemoveFormatUI} plugins. * * For a detailed overview, check out the {@glink features/remove-format remove format} feature documentation. */ export default class RemoveFormat extends Plugin { /** * @inheritDoc */ static get requires(): readonly [typeof RemoveFormatEditing, typeof RemoveFormatUI]; /** * @inheritDoc */ static get pluginName(): "RemoveFormat"; /** * @inheritDoc */ static get isOfficialPlugin(): true; }