UNPKG

981 BJavaScriptView Raw
1/**
2 * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5
6/**
7 * @module basic-styles/italic
8 */
9
10import { Plugin } from 'ckeditor5/src/core';
11import ItalicEditing from './italic/italicediting';
12import ItalicUI from './italic/italicui';
13
14/**
15 * The italic feature.
16 *
17 * For a detailed overview check the {@glink features/basic-styles Basic styles feature documentation}
18 * and the {@glink api/basic-styles package page}.
19 *
20 * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and
21 * {@link module:basic-styles/italic/italicui~ItalicUI} plugins.
22 *
23 * @extends module:core/plugin~Plugin
24 */
25export default class Italic extends Plugin {
26 /**
27 * @inheritDoc
28 */
29 static get requires() {
30 return [ ItalicEditing, ItalicUI ];
31 }
32
33 /**
34 * @inheritDoc
35 */
36 static get pluginName() {
37 return 'Italic';
38 }
39}