@ckeditor/ckeditor5-image
Advanced tools
Comparing version 23.0.0 to 23.1.0
{ | ||
"name": "@ckeditor/ckeditor5-image", | ||
"version": "23.0.0", | ||
"version": "23.1.0", | ||
"description": "Image feature for CKEditor 5.", | ||
@@ -13,26 +13,26 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-clipboard": "^23.0.0", | ||
"@ckeditor/ckeditor5-core": "^23.0.0", | ||
"@ckeditor/ckeditor5-engine": "^23.0.0", | ||
"@ckeditor/ckeditor5-ui": "^23.0.0", | ||
"@ckeditor/ckeditor5-upload": "^23.0.0", | ||
"@ckeditor/ckeditor5-utils": "^23.0.0", | ||
"@ckeditor/ckeditor5-widget": "^23.0.0" | ||
"@ckeditor/ckeditor5-clipboard": "^23.1.0", | ||
"@ckeditor/ckeditor5-core": "^23.1.0", | ||
"@ckeditor/ckeditor5-engine": "^23.1.0", | ||
"@ckeditor/ckeditor5-ui": "^23.1.0", | ||
"@ckeditor/ckeditor5-upload": "^23.1.0", | ||
"@ckeditor/ckeditor5-utils": "^23.1.0", | ||
"@ckeditor/ckeditor5-widget": "^23.1.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^23.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^23.0.0", | ||
"@ckeditor/ckeditor5-cloud-services": "^23.0.0", | ||
"@ckeditor/ckeditor5-ckfinder": "^23.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^23.0.0", | ||
"@ckeditor/ckeditor5-enter": "^23.0.0", | ||
"@ckeditor/ckeditor5-easy-image": "^23.0.0", | ||
"@ckeditor/ckeditor5-heading": "^23.0.0", | ||
"@ckeditor/ckeditor5-indent": "^23.0.0", | ||
"@ckeditor/ckeditor5-link": "^23.0.0", | ||
"@ckeditor/ckeditor5-list": "^23.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^23.0.0", | ||
"@ckeditor/ckeditor5-table": "^23.0.0", | ||
"@ckeditor/ckeditor5-typing": "^23.0.0", | ||
"@ckeditor/ckeditor5-undo": "^23.0.0" | ||
"@ckeditor/ckeditor5-basic-styles": "^23.1.0", | ||
"@ckeditor/ckeditor5-block-quote": "^23.1.0", | ||
"@ckeditor/ckeditor5-cloud-services": "^23.1.0", | ||
"@ckeditor/ckeditor5-ckfinder": "^23.1.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^23.1.0", | ||
"@ckeditor/ckeditor5-enter": "^23.1.0", | ||
"@ckeditor/ckeditor5-easy-image": "^23.1.0", | ||
"@ckeditor/ckeditor5-heading": "^23.1.0", | ||
"@ckeditor/ckeditor5-indent": "^23.1.0", | ||
"@ckeditor/ckeditor5-link": "^23.1.0", | ||
"@ckeditor/ckeditor5-list": "^23.1.0", | ||
"@ckeditor/ckeditor5-paragraph": "^23.1.0", | ||
"@ckeditor/ckeditor5-table": "^23.1.0", | ||
"@ckeditor/ckeditor5-typing": "^23.1.0", | ||
"@ckeditor/ckeditor5-undo": "^23.1.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "engines": { |
@@ -30,2 +30,6 @@ /** | ||
if ( this.checkShouldIgnoreEventFromTarget( domElement ) ) { | ||
return; | ||
} | ||
if ( domElement.tagName == 'IMG' ) { | ||
@@ -32,0 +36,0 @@ this._fireEvents( domEvent ); |
@@ -116,3 +116,6 @@ /** | ||
} | ||
} ); | ||
// Note: Use the low priority to make sure the following listener starts working after the | ||
// default action of the drop-down is executed (i.e. the panel showed up). Otherwise, the | ||
// invisible form/input cannot be focused/selected. | ||
}, { priority: 'low' } ); | ||
@@ -119,0 +122,0 @@ imageInsertView.delegate( 'submit', 'cancel' ).to( dropdownView ); |
@@ -138,3 +138,3 @@ /** | ||
integrationView.fieldView.on( 'input', () => { | ||
this.imageURLInputValue = integrationView.fieldView.element.value; | ||
this.imageURLInputValue = integrationView.fieldView.element.value.trim(); | ||
} ); | ||
@@ -290,3 +290,3 @@ } | ||
insertButtonView.bind( 'isEnabled' ).to( this, 'imageURLInputValue' ); | ||
insertButtonView.bind( 'isEnabled' ).to( this, 'imageURLInputValue', value => !!value ); | ||
insertButtonView.delegate( 'execute' ).to( this, 'submit' ); | ||
@@ -293,0 +293,0 @@ cancelButtonView.delegate( 'execute' ).to( this, 'cancel' ); |
@@ -10,4 +10,2 @@ /** | ||
/* globals console */ | ||
import fullWidthIcon from '@ckeditor/ckeditor5-core/theme/icons/object-full-width.svg'; | ||
@@ -17,3 +15,3 @@ import leftIcon from '@ckeditor/ckeditor5-core/theme/icons/object-left.svg'; | ||
import rightIcon from '@ckeditor/ckeditor5-core/theme/icons/object-right.svg'; | ||
import { attachLinkToDocumentation } from '@ckeditor/ckeditor5-utils/src/ckeditorerror'; | ||
import { logWarning } from '@ckeditor/ckeditor5-utils/src/ckeditorerror'; | ||
@@ -125,8 +123,5 @@ /** | ||
* @error image-style-not-found | ||
* @param {String} name Name of a missing style name. | ||
* @param {String} name Name of a missing style name. | ||
*/ | ||
console.warn( | ||
attachLinkToDocumentation( 'image-style-not-found' ), | ||
{ name: styleName } | ||
); | ||
logWarning( 'image-style-not-found', { name: styleName } ); | ||
@@ -133,0 +128,0 @@ // Normalize the style anyway to prevent errors. |
@@ -26,2 +26,3 @@ /** | ||
import '../../../theme/textalternativeform.css'; | ||
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css'; | ||
@@ -115,3 +116,4 @@ /** | ||
'ck', | ||
'ck-text-alternative-form' | ||
'ck-text-alternative-form', | ||
'ck-responsive-form' | ||
], | ||
@@ -118,0 +120,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
382528
109
4463