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

ckeditor / ckeditor5 / 058f85c0-118c-4b05-80df-b369da5c2f16

29 May 2024 02:15PM CUT coverage: 100.0%. Remained the same
058f85c0-118c-4b05-80df-b369da5c2f16

push

circleci

web-flow
Merge pull request #16337 from ckeditor/ck/app-menu-bar-media-embed

Feature (media-embed): Added menu bar integration to media embed. "Media" button is now available in "Insert" menu.

Other (media-embed): Media embed feature now uses a modal dialog (instead of toolbar dropdown) for inserting media.

MINOR BREAKING CHANGE (media-embed): Media embed feature now uses a modal dialog (instead of toolbar dropdown) for inserting media.

13726 of 13726 branches covered (100.0%)

Branch coverage included in aggregate %.

42 of 42 new or added lines in 2 files covered. (100.0%)

36251 of 36251 relevant lines covered (100.0%)

11121.03 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-2024, 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