UNPKG

968 BJavaScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, 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 * @module basic-styles/italic
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import ItalicEditing from './italic/italicediting';
10import ItalicUI from './italic/italicui';
11/**
12 * The italic feature.
13 *
14 * For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide
15 * and the {@glink api/basic-styles package page}.
16 *
17 * This is a "glue" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and
18 * {@link module:basic-styles/italic/italicui~ItalicUI} plugins.
19 */
20export default class Italic extends Plugin {
21 /**
22 * @inheritDoc
23 */
24 static get requires() {
25 return [ItalicEditing, ItalicUI];
26 }
27 /**
28 * @inheritDoc
29 */
30 static get pluginName() {
31 return 'Italic';
32 }
33}