UNPKG

@ckeditor/ckeditor5-basic-styles

Version:

Basic styles feature for CKEditor 5.

34 lines (33 loc) 885 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 basic-styles/code/codeediting */ import { Plugin } from 'ckeditor5/src/core.js'; import { TwoStepCaretMovement } from 'ckeditor5/src/typing.js'; /** * The code editing feature. * * It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view * as a `<code>` element. */ export declare class CodeEditing extends Plugin { /** * @inheritDoc */ static get pluginName(): "CodeEditing"; /** * @inheritDoc */ static get isOfficialPlugin(): true; /** * @inheritDoc */ static get requires(): readonly [typeof TwoStepCaretMovement]; /** * @inheritDoc */ init(): void; }