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 34.2.0 to 35.0.0

CHANGELOG.md

3

lang/contexts.json

@@ -8,3 +8,4 @@ {

"%0 of %1": "Label for an ‘X of Y’ status of a typical next/previous navigation. For instance, ‘Page 5 of 20’ or 'Search result 5 of 20'.",
"Cannot upload file:": "A generic error message displayed on upload failure. The file name is concatenated to this text."
"Cannot upload file:": "A generic error message displayed on upload failure. The file name is concatenated to this text.",
"Rich Text Editor. Editing area: %0": "Accessible label of the specific editing area of the editor acting as a root of the entire application."
}

@@ -14,2 +14,6 @@ Software License Agreement

The following libraries are included in CKEditor under the [MIT license](https://opensource.org/licenses/MIT):
* lodash - Copyright (c) JS Foundation and other contributors https://js.foundation/. Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors http://underscorejs.org/.
Trademarks

@@ -16,0 +20,0 @@ ----------

{
"name": "@ckeditor/ckeditor5-core",
"version": "34.2.0",
"version": "35.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": "^34.2.0",
"@ckeditor/ckeditor5-ui": "^34.2.0",
"@ckeditor/ckeditor5-utils": "^34.2.0",
"@ckeditor/ckeditor5-engine": "^35.0.0",
"@ckeditor/ckeditor5-ui": "^35.0.0",
"@ckeditor/ckeditor5-utils": "^35.0.0",
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@ckeditor/ckeditor5-autoformat": "^34.2.0",
"@ckeditor/ckeditor5-basic-styles": "^34.2.0",
"@ckeditor/ckeditor5-block-quote": "^34.2.0",
"@ckeditor/ckeditor5-editor-classic": "^34.2.0",
"@ckeditor/ckeditor5-essentials": "^34.2.0",
"@ckeditor/ckeditor5-heading": "^34.2.0",
"@ckeditor/ckeditor5-image": "^34.2.0",
"@ckeditor/ckeditor5-indent": "^34.2.0",
"@ckeditor/ckeditor5-link": "^34.2.0",
"@ckeditor/ckeditor5-list": "^34.2.0",
"@ckeditor/ckeditor5-media-embed": "^34.2.0",
"@ckeditor/ckeditor5-paragraph": "^34.2.0",
"@ckeditor/ckeditor5-table": "^34.2.0"
"@ckeditor/ckeditor5-autoformat": "^35.0.0",
"@ckeditor/ckeditor5-basic-styles": "^35.0.0",
"@ckeditor/ckeditor5-block-quote": "^35.0.0",
"@ckeditor/ckeditor5-editor-classic": "^35.0.0",
"@ckeditor/ckeditor5-essentials": "^35.0.0",
"@ckeditor/ckeditor5-heading": "^35.0.0",
"@ckeditor/ckeditor5-image": "^35.0.0",
"@ckeditor/ckeditor5-indent": "^35.0.0",
"@ckeditor/ckeditor5-link": "^35.0.0",
"@ckeditor/ckeditor5-list": "^35.0.0",
"@ckeditor/ckeditor5-media-embed": "^35.0.0",
"@ckeditor/ckeditor5-paragraph": "^35.0.0",
"@ckeditor/ckeditor5-table": "^35.0.0"
},

@@ -64,4 +64,5 @@ "engines": {

"theme",
"ckeditor5-metadata.json"
"ckeditor5-metadata.json",
"CHANGELOG.md"
]
}

@@ -484,3 +484,3 @@ /**

* The only editor type which can be initialized on `<textarea>` elements is
* the {@glink installation/advanced/alternative-setups/predefined-builds#classic-editor classic editor}.
* the {@glink installation/getting-started/predefined-builds#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

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

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

/* globals HTMLTextAreaElement */
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';

@@ -24,3 +26,3 @@ import setDataInElement from '@ckeditor/ckeditor5-utils/src/dom/setdatainelement';

*/
updateSourceElement() {
updateSourceElement( data = this.data.get() ) {
if ( !this.sourceElement ) {

@@ -41,3 +43,16 @@ /**

setDataInElement( this.sourceElement, this.data.get() );
const shouldUpdateSourceElement = this.config.get( 'updateSourceElementOnDestroy' );
const isSourceElementTextArea = this.sourceElement instanceof HTMLTextAreaElement;
// The data returned by the editor might be unsafe, so we want to prevent rendering
// unsafe content inside the source element different than <textarea>, which is considered
// secure. This behaviour could be changed by setting the `updateSourceElementOnDestroy`
// configuration option to `true`.
if ( !shouldUpdateSourceElement && !isSourceElementTextArea ) {
setDataInElement( this.sourceElement, '' );
return;
}
setDataInElement( this.sourceElement, data );
}

@@ -68,2 +83,4 @@ };

* @method #updateSourceElement
* @param {String} data The data that should be used to update the source element.
* By default, it is taken directly from the existing editor instance.
*/

@@ -347,3 +347,3 @@ /**

*
* **If you see this warning when using one of the {@glink installation/advanced/alternative-setups/predefined-builds
* **If you see this warning when using one of the {@glink installation/getting-started/predefined-builds
* CKEditor 5 Builds}**,

@@ -350,0 +350,0 @@ * it means that you try to enable a plugin which was not included in that build. This may be due to a typo

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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