Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-typing

Package Overview
Dependencies
Maintainers
1
Versions
620
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-typing - npm Package Compare versions

Comparing version 25.0.0 to 26.0.0

src/index.js

36

package.json
{
"name": "@ckeditor/ckeditor5-typing",
"version": "25.0.0",
"version": "26.0.0",
"description": "Typing feature for CKEditor 5.",

@@ -10,23 +10,25 @@ "keywords": [

"ckeditor5-feature",
"ckeditor5-plugin"
"ckeditor5-plugin",
"ckeditor5-dll"
],
"main": "src/index.js",
"dependencies": {
"@ckeditor/ckeditor5-core": "^25.0.0",
"@ckeditor/ckeditor5-engine": "^25.0.0",
"@ckeditor/ckeditor5-utils": "^25.0.0",
"@ckeditor/ckeditor5-core": "^26.0.0",
"@ckeditor/ckeditor5-engine": "^26.0.0",
"@ckeditor/ckeditor5-utils": "^26.0.0",
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^25.0.0",
"@ckeditor/ckeditor5-block-quote": "^25.0.0",
"@ckeditor/ckeditor5-editor-classic": "^25.0.0",
"@ckeditor/ckeditor5-enter": "^25.0.0",
"@ckeditor/ckeditor5-essentials": "^25.0.0",
"@ckeditor/ckeditor5-heading": "^25.0.0",
"@ckeditor/ckeditor5-image": "^25.0.0",
"@ckeditor/ckeditor5-link": "^25.0.0",
"@ckeditor/ckeditor5-list": "^25.0.0",
"@ckeditor/ckeditor5-paragraph": "^25.0.0",
"@ckeditor/ckeditor5-undo": "^25.0.0",
"@ckeditor/ckeditor5-code-block": "^25.0.0"
"@ckeditor/ckeditor5-basic-styles": "^26.0.0",
"@ckeditor/ckeditor5-block-quote": "^26.0.0",
"@ckeditor/ckeditor5-editor-classic": "^26.0.0",
"@ckeditor/ckeditor5-enter": "^26.0.0",
"@ckeditor/ckeditor5-essentials": "^26.0.0",
"@ckeditor/ckeditor5-heading": "^26.0.0",
"@ckeditor/ckeditor5-image": "^26.0.0",
"@ckeditor/ckeditor5-link": "^26.0.0",
"@ckeditor/ckeditor5-list": "^26.0.0",
"@ckeditor/ckeditor5-paragraph": "^26.0.0",
"@ckeditor/ckeditor5-undo": "^26.0.0",
"@ckeditor/ckeditor5-code-block": "^26.0.0"
},

@@ -33,0 +35,0 @@ "engines": {

@@ -35,3 +35,8 @@ /**

editor.commands.add( 'forwardDelete', new DeleteCommand( editor, 'forward' ) );
const deleteForwardCommand = new DeleteCommand( editor, 'forward' );
// Register `deleteForward` command and add `forwardDelete` command as an alias for backward compatibility.
editor.commands.add( 'deleteForward', deleteForwardCommand );
editor.commands.add( 'forwardDelete', deleteForwardCommand );
editor.commands.add( 'delete', new DeleteCommand( editor, 'backward' ) );

@@ -56,3 +61,3 @@

editor.execute( data.direction == 'forward' ? 'forwardDelete' : 'delete', deleteCommandParams );
editor.execute( data.direction == 'forward' ? 'deleteForward' : 'delete', deleteCommandParams );

@@ -59,0 +64,0 @@ data.preventDefault();

@@ -174,4 +174,4 @@ /**

export function isNonTypingKeystroke( keyData ) {
// Keystrokes which contain Ctrl don't represent typing.
if ( keyData.ctrlKey ) {
// Keystrokes which contain Ctrl or Cmd don't represent typing.
if ( keyData.ctrlKey || keyData.metaKey ) {
return true;

@@ -178,0 +178,0 @@ }

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