-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
alignment.ts
38 lines (33 loc) · 980 Bytes
/
alignment.ts
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
/**
* @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 alignment/alignment
*/
import { Plugin } from 'ckeditor5/src/core';
import AlignmentEditing from './alignmentediting';
import AlignmentUI from './alignmentui';
/**
* The text alignment plugin.
*
* For a detailed overview, check the {@glink features/text-alignment Text alignment} feature guide
* and the {@glink api/alignment package page}.
*
* This is a "glue" plugin which loads the {@link module:alignment/alignmentediting~AlignmentEditing} and
* {@link module:alignment/alignmentui~AlignmentUI} plugins.
*/
export default class Alignment extends Plugin {
/**
* @inheritDoc
*/
public static get requires() {
return [ AlignmentEditing, AlignmentUI ] as const;
}
/**
* @inheritDoc
*/
public static get pluginName(): 'Alignment' {
return 'Alignment';
}
}