ImageUploadPanelConfig (image)
@ckeditor/ckeditor5-image/src/imageupload
interface
protected
The configuration of the image upload dropdown panel view. Used by the image upload feature in the @ckeditor/ckeditor5-image package.
ClassicEditor
.create( editorElement, {
image: {
upload: {
panel: ... // Panel settings go here.
}
}
} )
.then( ... )
.catch( ... );
See all editor options.
Filtering
Properties
-
items : Array.<String>The list of
ImageUploadintegrations.This option accepts string tokens:
-
For predefined integrations, there are two special strings:
insertImageViaUrlandopenCKFinder. The former adds the Insert image via URL feature, while the latter adds the built-in CKFinder integration. -
For custom integrations, each string should be a name of the already registered component. If you have a plugin
PluginXthat registers thepluginXButtoncomponent, then in that case the integration token should bepluginXButton.// Add `insertImageViaUrl`, `openCKFinder` and custom `pluginXButton` integrations. const imageUploadConfig = { upload: { panel: { items: [ 'insertImageViaUrl', 'openCKFinder', 'pluginXButton' ] } } };
Defaults to
[ 'insertImageViaUrl' ] -