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 list/liststyle
|
8 | */
|
9 |
|
10 | import { Plugin } from 'ckeditor5/src/core';
|
11 | import ListProperties from './listproperties';
|
12 | import { logWarning } from 'ckeditor5/src/utils';
|
13 |
|
14 | /**
|
15 | * The list style feature.
|
16 | *
|
17 | * This is an obsolete plugin that exists for backward compatibility only.
|
18 | * Use the {@link module:list/listproperties~ListProperties list properties plugin} instead.
|
19 | *
|
20 | * @extends module:core/plugin~Plugin
|
21 | */
|
22 | export default class ListStyle extends Plugin {
|
23 | /**
|
24 | * @inheritDoc
|
25 | */
|
26 | static get requires() {
|
27 | return [ ListProperties ];
|
28 | }
|
29 |
|
30 | /**
|
31 | * @inheritDoc
|
32 | */
|
33 | static get pluginName() {
|
34 | return 'ListStyle';
|
35 | }
|
36 |
|
37 | constructor( editor ) {
|
38 | super( editor );
|
39 |
|
40 | logWarning( 'The `ListStyle` plugin is obsolete. Use `ListProperties` instead.' );
|
41 | }
|
42 | }
|