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 | * @module image/imageinsertviaurl
|
7 | */
|
8 | import { Plugin } from 'ckeditor5/src/core.js';
|
9 | import ImageInsertUI from './imageinsert/imageinsertui.js';
|
10 | import ImageInsertViaUrlUI from './imageinsert/imageinsertviaurlui.js';
|
11 | /**
|
12 | * The image insert via URL plugin.
|
13 | *
|
14 | * For a detailed overview, check the {@glink features/images/images-inserting
|
15 | * Insert images via source URL} documentation.
|
16 | *
|
17 | * This plugin does not do anything directly, but it loads a set of specific plugins
|
18 | * to enable image inserting via implemented integrations:
|
19 | *
|
20 | * * {@link module:image/imageinsert/imageinsertui~ImageInsertUI},
|
21 | */
|
22 | export default class ImageInsertViaUrl extends Plugin {
|
23 | /**
|
24 | * @inheritDoc
|
25 | */
|
26 | static get pluginName() {
|
27 | return 'ImageInsertViaUrl';
|
28 | }
|
29 | /**
|
30 | * @inheritDoc
|
31 | */
|
32 | static get requires() {
|
33 | return [ImageInsertViaUrlUI, ImageInsertUI];
|
34 | }
|
35 | }
|