@ckeditor/ckeditor5-image 46.0.0-alpha.0 → 46.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -4057,6 +4057,8 @@ const IMAGE_URL_REGEXP = new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@
|
|
|
4057
4057
|
}
|
|
4058
4058
|
}
|
|
4059
4059
|
/**
|
|
4060
|
+
* TODO move this to the clipboard package.
|
|
4061
|
+
*
|
|
4060
4062
|
* Returns `true` if non-empty `text/html` is included in the data transfer.
|
|
4061
4063
|
*/ function isHtmlInDataTransfer(dataTransfer) {
|
|
4062
4064
|
return Array.from(dataTransfer.types).includes('text/html') && dataTransfer.getData('text/html') !== '';
|
|
@@ -6035,7 +6037,9 @@ const RESIZED_IMAGE_CLASS = 'image_resized';
|
|
|
6035
6037
|
* @param {object} info The information about the invalid definition.
|
|
6036
6038
|
*/ logWarning('image-style-configuration-definition-invalid', info);
|
|
6037
6039
|
}
|
|
6038
|
-
|
|
6040
|
+
/**
|
|
6041
|
+
* @internal
|
|
6042
|
+
*/ const utils = {
|
|
6039
6043
|
normalizeStyles,
|
|
6040
6044
|
getDefaultStylesConfiguration,
|
|
6041
6045
|
getDefaultDropdownDefinitions,
|