Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-enter

Package Overview
Dependencies
Maintainers
1
Versions
619
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-enter - npm Package Compare versions

Comparing version 10.1.1 to 10.1.2

7

CHANGELOG.md
Changelog
=========
## [10.1.2](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.1...v10.1.2) (2018-10-08)
### Bug fixes
* The default action of <kbd>Enter</kbd> should be always prevented. Closes [ckeditor/ckeditor5#1120](https://github.com/ckeditor/ckeditor5/issues/1120). ([8d7c75f](https://github.com/ckeditor/ckeditor5-enter/commit/8d7c75f))
## [10.1.1](https://github.com/ckeditor/ckeditor5-enter/compare/v10.1.0...v10.1.1) (2018-07-18)

@@ -5,0 +12,0 @@

25

package.json
{
"name": "@ckeditor/ckeditor5-enter",
"version": "10.1.1",
"version": "10.1.2",
"description": "Enter feature for CKEditor 5.",

@@ -9,17 +9,18 @@ "keywords": [

"ckeditor 5",
"ckeditor5-feature"
"ckeditor5-feature",
"ckeditor5-plugin"
],
"dependencies": {
"@ckeditor/ckeditor5-core": "^11.0.0",
"@ckeditor/ckeditor5-engine": "^10.2.0",
"@ckeditor/ckeditor5-utils": "^10.2.0"
"@ckeditor/ckeditor5-core": "^11.0.1",
"@ckeditor/ckeditor5-engine": "^11.0.0",
"@ckeditor/ckeditor5-utils": "^11.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^10.0.2",
"@ckeditor/ckeditor5-editor-classic": "^11.0.0",
"@ckeditor/ckeditor5-heading": "^10.0.2",
"@ckeditor/ckeditor5-paragraph": "^10.0.2",
"@ckeditor/ckeditor5-typing": "^11.0.0",
"@ckeditor/ckeditor5-undo": "^10.0.2",
"eslint": "^4.15.0",
"@ckeditor/ckeditor5-basic-styles": "^10.0.3",
"@ckeditor/ckeditor5-editor-classic": "^11.0.1",
"@ckeditor/ckeditor5-heading": "^10.1.0",
"@ckeditor/ckeditor5-paragraph": "^10.0.3",
"@ckeditor/ckeditor5-typing": "^11.0.1",
"@ckeditor/ckeditor5-undo": "^10.0.3",
"eslint": "^5.5.0",
"eslint-config-ckeditor5": "^1.0.7",

@@ -26,0 +27,0 @@ "husky": "^0.14.3",

@@ -17,3 +17,3 @@ CKEditor 5 Enter feature

See the [`@ckeditor/ckeditor5-enter` package](https://docs.ckeditor.com/ckeditor5/latest/api/enter.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/).
See the [`@ckeditor/ckeditor5-enter` package](https://ckeditor.com/docs/ckeditor5/latest/api/enter.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).

@@ -20,0 +20,0 @@ ## License

@@ -19,2 +19,4 @@ /**

*
* For more information about this feature see the {@glink api/enter package page}.
*
* @extends module:core/plugin~Plugin

@@ -40,2 +42,4 @@ */

this.listenTo( viewDocument, 'enter', ( evt, data ) => {
data.preventDefault();
// The soft enter key is handled by the ShiftEnter plugin.

@@ -47,3 +51,2 @@ if ( data.isSoft ) {

editor.execute( 'enter' );
data.preventDefault();
view.scrollToTheSelection();

@@ -50,0 +53,0 @@ }, { priority: 'low' } );

@@ -21,2 +21,4 @@ /**

*
* For more information about this feature see the {@glink api/enter package page}.
*
* @extends module:core/plugin~Plugin

@@ -62,2 +64,4 @@ */

this.listenTo( viewDocument, 'enter', ( evt, data ) => {
data.preventDefault();
// The hard enter key is handled by the Enter plugin.

@@ -69,3 +73,2 @@ if ( !data.isSoft ) {

editor.execute( 'shiftEnter' );
data.preventDefault();
view.scrollToTheSelection();

@@ -72,0 +75,0 @@ }, { priority: 'low' } );

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