• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ckeditor / ckeditor5 / f0650a55-6a90-4ce7-9d70-d0dbd299dc40

04 Jan 2024 01:03PM UTC coverage: 100.0%. Remained the same
f0650a55-6a90-4ce7-9d70-d0dbd299dc40

push

circleci

web-flow
Merge pull request #15572 from ckeditor/ck/14942

Other (list): The Document List feature was promoted to the main list feature implementation. The "Document" prefix was removed while the old list implementation was prefixed with the "Legacy" keyword. A compatibility alias plugins were introduced (`DocumentList`, `DocumentListProperties`, `TodoDocumentList`) for backward compatibility but those are marked as deprecated and log a warning in the browser console. Closes #14942.

MINOR BREAKING CHANGE (list): All old list plugins are now prefixed with `legacy` (including directory names):  `List` -> `LegacyList`, `ListProperties` -> `LegacyListProperties`, `TodoList` -> `LegacyTodoList`, `ListEditing` -> `LegacyListEditing`, `ListUtils` -> `LegacyListUtils`, `ListPropertiesEditing` -> `LegacyListPropertiesEditing`, `TodoListEditing` -> `LegacyTodoListEditing`. See #14942.

MINOR BREAKING CHANGE (list): The Document List plugins are now not prefixed with `document` (including directory names): `DocumentList` -> `List`, `DocumentListProperties` -> `ListProperties`, `TodoDocumentList` -> `TodoList`, `DocumentListEditing` -> `ListEditing`, `DocumentListUtils` -> `ListUtils`, `DocumentListPropertiesEditing` -> `ListPropertiesEditing`, `DocumentListPropertiesUtils` -> `ListPropertiesUtils`, `TodoDocumentListEditing` -> `TodoListEditing`. See #14942.

MAJOR BREAKING CHANGE (list): The `AdjacentListsSupport` plugin is moved from the `documentlist` directory to the `list` directory. See #14942.

MINOR BREAKING CHANGE (list): The `ListStyle` plugin was removed since it was deprecated for a while. Use the `ListProperties` plugin instead. See #14942.

12995 of 12995 branches covered (100.0%)

Branch coverage included in aggregate %.

34116 of 34116 relevant lines covered (100.0%)

11544.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/packages/ckeditor5-alignment/src/alignment.ts
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
/**
7
 * @module alignment/alignment
8
 */
9

10
import { Plugin } from 'ckeditor5/src/core.js';
11

12
import AlignmentEditing from './alignmentediting.js';
13
import AlignmentUI from './alignmentui.js';
14

15
/**
16
 * The text alignment plugin.
17
 *
18
 * For a detailed overview, check the {@glink features/text-alignment Text alignment} feature guide
19
 * and the {@glink api/alignment package page}.
20
 *
21
 * This is a "glue" plugin which loads the {@link module:alignment/alignmentediting~AlignmentEditing} and
22
 * {@link module:alignment/alignmentui~AlignmentUI} plugins.
23
 */
24
export default class Alignment extends Plugin {
25
        /**
26
         * @inheritDoc
27
         */
28
        public static get requires() {
29
                return [ AlignmentEditing, AlignmentUI ] as const;
31✔
30
        }
31

32
        /**
33
         * @inheritDoc
34
         */
35
        public static get pluginName() {
36
                return 'Alignment' as const;
24✔
37
        }
38
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc