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

ckeditor / ckeditor5-vue / bd549581-15d9-44e6-8105-019703465522

19 Nov 2024 01:26PM UTC coverage: 100.0%. Remained the same
bd549581-15d9-44e6-8105-019703465522

push

circleci

web-flow
Merge pull request #330 from ckeditor/feature/bump-integration-commons

Internal: Bump integrations common to `2.2.2`.

32 of 32 branches covered (100.0%)

Branch coverage included in aggregate %.

83 of 83 relevant lines covered (100.0%)

20.98 hits per line

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

100.0
/src/plugins/appendAllIntegrationPluginsToConfig.ts
1
/**
2
 * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
 * For licensing, see LICENSE.md.
4
 */
5

6
import { appendExtraPluginsToEditorConfig, isCKEditorFreeLicense } from '@ckeditor/ckeditor5-integrations-common';
7
import type { EditorConfig } from 'ckeditor5';
8

9
import { VueIntegrationUsageDataPlugin } from './VueIntegrationUsageDataPlugin.js';
10

11
/**
12
 * Appends all integration plugins to the editor configuration.
13
 *
14
 * @param editorConfig The editor configuration.
15
 * @returns The editor configuration with all integration plugins appended.
16
 */
17
export function appendAllIntegrationPluginsToConfig( editorConfig: EditorConfig ): EditorConfig {
18
        /**
19
         * Do not modify the editor configuration if the editor is using a free license.
20
         */
21
        if ( isCKEditorFreeLicense( editorConfig.licenseKey ) ) {
38✔
22
                return editorConfig;
34✔
23
        }
24

25
        return appendExtraPluginsToEditorConfig( editorConfig, [
4✔
26
                /**
27
                 * This part of the code is not executed in open-source implementations using a GPL key.
28
                 * It only runs when a specific license key is provided. If you are uncertain whether
29
                 * this applies to your installation, please contact our support team.
30
                 */
31
                VueIntegrationUsageDataPlugin
32
        ] );
33
}
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