@ckeditor/ckeditor5-basic-styles
Version:
Basic styles feature for CKEditor 5.
25 lines (24 loc) • 679 B
TypeScript
/**
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module basic-styles/italic/italicediting
*/
import { Plugin } from 'ckeditor5/src/core';
/**
* The italic editing feature.
*
* It registers the `'italic'` command, the <kbd>Ctrl+I</kbd> keystroke and introduces the `italic` attribute in the model
* which renders to the view as an `<i>` element.
*/
export default class ItalicEditing extends Plugin {
/**
* @inheritDoc
*/
static get pluginName(): "ItalicEditing";
/**
* @inheritDoc
*/
init(): void;
}