Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

devextreme-quill

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devextreme-quill - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

21

modules/keyboard.js

@@ -90,13 +90,14 @@ import cloneDeep from 'lodash.clonedeep';

key = isKeySupported ? key : which;
let normalizedKey = isKeySupported ? key : which;
if (key) {
if (normalizedKey) {
if (isKeySupported) {
key = KEY_NAMES[key.toLowerCase()] || key;
normalizedKey = KEY_NAMES[normalizedKey.toLowerCase()] || normalizedKey;
} else {
key = KEY_CODES[key] || String.fromCharCode(key);
normalizedKey =
KEY_CODES[normalizedKey] || String.fromCharCode(normalizedKey);
}
}
return key;
return normalizedKey;
}

@@ -633,6 +634,6 @@

},
'embed left': makeEmbedArrowHandler('ArrowLeft', false),
'embed left shift': makeEmbedArrowHandler('ArrowLeft', true),
'embed right': makeEmbedArrowHandler('ArrowRight', false),
'embed right shift': makeEmbedArrowHandler('ArrowRight', true),
'embed left': makeEmbedArrowHandler('leftArrow', false),
'embed left shift': makeEmbedArrowHandler('leftArrow', true),
'embed right': makeEmbedArrowHandler('rightArrow', false),
'embed right shift': makeEmbedArrowHandler('rightArrow', true),
'table down': makeTableArrowHandler(false),

@@ -692,3 +693,3 @@ 'table up': makeTableArrowHandler(true),

if (!(leaf instanceof EmbedBlot)) return true;
if (key === 'ArrowLeft') {
if (key === 'leftArrow') {
if (shiftKey) {

@@ -695,0 +696,0 @@ this.quill.setSelection(

{
"name": "devextreme-quill",
"version": "1.1.4",
"version": "1.1.5",
"description": "Core of the DevExtrene HtmlEditor",

@@ -75,2 +75,3 @@ "author": "Developer Express Inc.",

"terser-webpack-plugin": "^1.3.0",
"testcafe": "^1.15.1",
"ts-loader": "^6.2.2",

@@ -162,4 +163,5 @@ "typescript": "^3.8.3",

"test": "npm run test:unit",
"test:all": "npm run test:unit && npm run test:functional",
"test:all": "npm run test:unit && npm run test:testcafe",
"test:functional": "./_develop/scripts/puppeteer.sh",
"test:testcafe": "testcafe chrome test/testcafe",
"test:unit": "npm run build && karma start _develop/karma.config.js",

@@ -166,0 +168,0 @@ "test:coverage": "webpack --env.coverage --config _develop/webpack.config.js && karma start _develop/karma.config.js --reporters coverage",

Sorry, the diff of this file is not supported yet

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

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

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

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