UNPKG

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