Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-core

Package Overview
Dependencies
Maintainers
1
Versions
618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-core - npm Package Compare versions

Comparing version 30.0.0 to 31.0.0

34

package.json
{
"name": "@ckeditor/ckeditor5-core",
"version": "30.0.0",
"version": "31.0.0",
"description": "The core architecture of CKEditor 5 – the best browser-based rich text editor.",

@@ -26,21 +26,21 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-engine": "^30.0.0",
"@ckeditor/ckeditor5-ui": "^30.0.0",
"@ckeditor/ckeditor5-utils": "^30.0.0",
"@ckeditor/ckeditor5-engine": "^31.0.0",
"@ckeditor/ckeditor5-ui": "^31.0.0",
"@ckeditor/ckeditor5-utils": "^31.0.0",
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@ckeditor/ckeditor5-autoformat": "^30.0.0",
"@ckeditor/ckeditor5-basic-styles": "^30.0.0",
"@ckeditor/ckeditor5-block-quote": "^30.0.0",
"@ckeditor/ckeditor5-editor-classic": "^30.0.0",
"@ckeditor/ckeditor5-essentials": "^30.0.0",
"@ckeditor/ckeditor5-heading": "^30.0.0",
"@ckeditor/ckeditor5-image": "^30.0.0",
"@ckeditor/ckeditor5-indent": "^30.0.0",
"@ckeditor/ckeditor5-link": "^30.0.0",
"@ckeditor/ckeditor5-list": "^30.0.0",
"@ckeditor/ckeditor5-media-embed": "^30.0.0",
"@ckeditor/ckeditor5-paragraph": "^30.0.0",
"@ckeditor/ckeditor5-table": "^30.0.0"
"@ckeditor/ckeditor5-autoformat": "^31.0.0",
"@ckeditor/ckeditor5-basic-styles": "^31.0.0",
"@ckeditor/ckeditor5-block-quote": "^31.0.0",
"@ckeditor/ckeditor5-editor-classic": "^31.0.0",
"@ckeditor/ckeditor5-essentials": "^31.0.0",
"@ckeditor/ckeditor5-heading": "^31.0.0",
"@ckeditor/ckeditor5-image": "^31.0.0",
"@ckeditor/ckeditor5-indent": "^31.0.0",
"@ckeditor/ckeditor5-link": "^31.0.0",
"@ckeditor/ckeditor5-list": "^31.0.0",
"@ckeditor/ckeditor5-media-embed": "^31.0.0",
"@ckeditor/ckeditor5-paragraph": "^31.0.0",
"@ckeditor/ckeditor5-table": "^31.0.0"
},

@@ -47,0 +47,0 @@ "engines": {

@@ -23,3 +23,4 @@ /**

*
* By default commands are disabled when the editor is in {@link module:core/editor/editor~Editor#isReadOnly read-only} mode.
* By default, commands are disabled when the editor is in {@link module:core/editor/editor~Editor#isReadOnly read-only} mode
* but commands with the {@link module:core/command~Command#affectsData `affectsData`} flag set to `false` will not be disabled.
*

@@ -101,2 +102,17 @@ * @mixes module:utils/observablemixin~ObservableMixin

/**
* A flag indicating whether a command execution changes the editor data or not.
*
* Commands with `affectsData` set to `false` will not be automatically disabled in
* {@link module:core/editor/editor~Editor#isReadOnly read-only mode} and
* {@glink features/read-only#related-features other editor modes} with restricted user write permissions.
*
* **Note:** You do not have to set it for your every command. It will be `true` by default.
*
* @readonly
* @default true
* @member {Boolean} #affectsData
*/
this.affectsData = true;
/**
* Holds identifiers for {@link #forceDisabled} mechanism.

@@ -124,3 +140,3 @@ *

this.listenTo( editor, 'change:isReadOnly', ( evt, name, value ) => {
if ( value ) {
if ( value && this.affectsData ) {
this.forceDisabled( 'readOnlyMode' );

@@ -127,0 +143,0 @@ } else {

@@ -360,3 +360,4 @@ /**

*
* The only editor type which can be initialized on `<textarea>` elements is {@glink builds/guides/overview#classic-editor classic editor}.
* The only editor type which can be initialized on `<textarea>` elements is
* the {@glink builds/guides/predefined-builds/overview#classic-editor classic editor}.
* This editor hides the passed element and inserts its own UI next to it. Other types of editors reuse the passed element as their root

@@ -363,0 +364,0 @@ * editable element and therefore `<textarea>` is not appropriate for them. Use a `<div>` or another text container instead:

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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