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