Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-widget

Package Overview
Dependencies
Maintainers
0
Versions
611
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-widget - npm Package Compare versions

Comparing version 43.1.0-alpha.5 to 43.1.0-alpha.6

14

package.json
{
"name": "@ckeditor/ckeditor5-widget",
"version": "43.1.0-alpha.5",
"version": "43.1.0-alpha.6",
"description": "Widget API for CKEditor 5.",

@@ -15,8 +15,8 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "43.1.0-alpha.5",
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.5",
"@ckeditor/ckeditor5-enter": "43.1.0-alpha.5",
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.5",
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.5",
"@ckeditor/ckeditor5-typing": "43.1.0-alpha.5",
"@ckeditor/ckeditor5-core": "43.1.0-alpha.6",
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.6",
"@ckeditor/ckeditor5-enter": "43.1.0-alpha.6",
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.6",
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.6",
"@ckeditor/ckeditor5-typing": "43.1.0-alpha.6",
"lodash-es": "4.17.21"

@@ -23,0 +23,0 @@ },

@@ -220,2 +220,6 @@ /**

let element = domEventData.target;
// Some of DOM elements have no view element representation so it may be null.
if (!element) {
return;
}
// If triple click should select entire paragraph.

@@ -518,6 +522,11 @@ if (domEventData.domEvent.detail >= 3) {

const domRange = getRangeFromMouseEvent(domEventData.domEvent);
if (!domRange) {
return null;
let viewRange = null;
if (domRange) {
viewRange = view.domConverter.domRangeToView(domRange);
}
const viewRange = view.domConverter.domRangeToView(domRange);
else {
// Fallback to create range in target element. It happens frequently on Safari browser.
// See more: https://github.com/ckeditor/ckeditor5/issues/16978
viewRange = view.createRange(view.createPositionAt(domEventData.target, 0));
}
if (!viewRange) {

@@ -524,0 +533,0 @@ return null;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc