@ckeditor/ckeditor5-ckfinder
Advanced tools
Comparing version 25.0.0 to 26.0.0
{ | ||
"name": "@ckeditor/ckeditor5-ckfinder", | ||
"version": "25.0.0", | ||
"version": "26.0.0", | ||
"description": "CKFinder integration for CKEditor 5.", | ||
@@ -12,15 +12,21 @@ "keywords": [ | ||
], | ||
"main": "src/index.js", | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-adapter-ckfinder": "^25.0.0", | ||
"@ckeditor/ckeditor5-core": "^25.0.0", | ||
"@ckeditor/ckeditor5-image": "^25.0.0", | ||
"@ckeditor/ckeditor5-link": "^25.0.0", | ||
"@ckeditor/ckeditor5-ui": "^25.0.0", | ||
"@ckeditor/ckeditor5-utils": "^25.0.0" | ||
"ckeditor5": "^26.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-editor-classic": "^25.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^25.0.0", | ||
"@ckeditor/ckeditor5-engine": "^25.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^25.0.0" | ||
"@ckeditor/ckeditor5-adapter-ckfinder": "^26.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^26.0.0", | ||
"@ckeditor/ckeditor5-core": "^26.0.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^24.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^26.0.0", | ||
"@ckeditor/ckeditor5-engine": "^26.0.0", | ||
"@ckeditor/ckeditor5-image": "^26.0.0", | ||
"@ckeditor/ckeditor5-link": "^26.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^26.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^26.0.0", | ||
"@ckeditor/ckeditor5-ui": "^26.0.0", | ||
"@ckeditor/ckeditor5-utils": "^26.0.0", | ||
"webpack": "^4.43.0", | ||
"webpack-cli": "^3.3.11" | ||
}, | ||
@@ -43,4 +49,8 @@ "engines": { | ||
"src", | ||
"theme" | ||
] | ||
"theme", | ||
"build" | ||
], | ||
"scripts": { | ||
"dll:build": "webpack" | ||
} | ||
} |
@@ -10,7 +10,6 @@ /** | ||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; | ||
import { Plugin } from 'ckeditor5/src/core'; | ||
import CKFinderUI from './ckfinderui'; | ||
import CKFinderEditing from './ckfinderediting'; | ||
import CKFinderUploadAdapter from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter'; | ||
@@ -47,3 +46,3 @@ /** | ||
static get requires() { | ||
return [ CKFinderEditing, CKFinderUI, CKFinderUploadAdapter ]; | ||
return [ 'Image', 'Link', 'CKFinderUploadAdapter', CKFinderEditing, CKFinderUI ]; | ||
} | ||
@@ -50,0 +49,0 @@ } |
@@ -12,4 +12,4 @@ /** | ||
import Command from '@ckeditor/ckeditor5-core/src/command'; | ||
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror'; | ||
import { Command } from 'ckeditor5/src/core'; | ||
import { CKEditorError } from 'ckeditor5/src/utils'; | ||
@@ -23,3 +23,3 @@ /** | ||
* **Note:** This command uses other features to perform tasks: | ||
* - To insert images the {@link module:image/image/imageinsertcommand~ImageInsertCommand 'imageInsert'} command | ||
* - To insert images the {@link module:image/image/insertimagecommand~InsertImageCommand 'insertImage'} command | ||
* from the {@link module:image/image~Image Image feature}. | ||
@@ -49,3 +49,3 @@ * - To insert links to files the {@link module:link/linkcommand~LinkCommand 'link'} command | ||
refresh() { | ||
const imageCommand = this.editor.commands.get( 'imageInsert' ); | ||
const imageCommand = this.editor.commands.get( 'insertImage' ); | ||
const linkCommand = this.editor.commands.get( 'link' ); | ||
@@ -141,3 +141,3 @@ | ||
function insertImages( editor, urls ) { | ||
const imageCommand = editor.commands.get( 'imageInsert' ); | ||
const imageCommand = editor.commands.get( 'insertImage' ); | ||
@@ -157,3 +157,3 @@ // Check if inserting an image is actually possible - it might be possible to only insert a link. | ||
editor.execute( 'imageInsert', { source: urls } ); | ||
editor.execute( 'insertImage', { source: urls } ); | ||
} |
@@ -10,6 +10,4 @@ /** | ||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; | ||
import ImageEditing from '@ckeditor/ckeditor5-image/src/image/imageediting'; | ||
import LinkEditing from '@ckeditor/ckeditor5-link/src/linkediting'; | ||
import Notification from '@ckeditor/ckeditor5-ui/src/notification/notification'; | ||
import { Plugin } from 'ckeditor5/src/core'; | ||
import { Notification } from 'ckeditor5/src/ui'; | ||
@@ -35,3 +33,3 @@ import CKFinderCommand from './ckfindercommand'; | ||
static get requires() { | ||
return [ Notification, ImageEditing, LinkEditing ]; | ||
return [ Notification, 'ImageEditing', 'LinkEditing' ]; | ||
} | ||
@@ -38,0 +36,0 @@ |
@@ -10,4 +10,4 @@ /** | ||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin'; | ||
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview'; | ||
import { Plugin } from 'ckeditor5/src/core'; | ||
import { ButtonView } from 'ckeditor5/src/ui'; | ||
@@ -14,0 +14,0 @@ import browseFilesIcon from '../theme/icons/browse-files.svg'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
118222
1
57
337
14
4
+ Addedckeditor5@^26.0.0
+ Added@ckeditor/ckeditor5-clipboard@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-core@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-enter@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-paragraph@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-select-all@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-typing@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-ui@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-undo@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-upload@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-widget@26.0.0(transitive)
+ Addedckeditor5@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@^25.0.0
- Removed@ckeditor/ckeditor5-image@^25.0.0
- Removed@ckeditor/ckeditor5-link@^25.0.0
- Removed@ckeditor/ckeditor5-ui@^25.0.0
- Removed@ckeditor/ckeditor5-utils@^25.0.0
- Removed@ckeditor/ckeditor5-adapter-ckfinder@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-clipboard@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-image@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-link@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-typing@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-undo@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-upload@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-widget@25.0.0(transitive)