Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-core

Package Overview
Dependencies
Maintainers
1
Versions
617
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 43.0.0 to 43.1.0-alpha.0

41

dist/editor/editorconfig.d.ts

@@ -849,2 +849,43 @@ /**

sanitizeHtml?: (html: string) => SanitizedOutput;
/**
* Label text for the `aria-label` attribute set on editor editing area. Used by assistive technologies
* to tell apart multiple editor instances (editing areas) on the page. If not set, a default
* "Rich Text Editor. Editing area [name of the area]" is used instead.
*
* ```ts
* ClassicEditor
* .create( document.querySelector( '#editor' ), {
* label: 'My editor'
* } )
* .then( ... )
* .catch( ... );
* ```
*
* If your editor implementation uses multiple roots, you should pass an object with keys corresponding to the editor
* roots names and values equal to the label that should be used for each root:
*
* ```ts
* MultiRootEditor.create(
* // Roots for the editor:
* {
* header: document.querySelector( '#header' ),
* content: document.querySelector( '#content' ),
* leftSide: document.querySelector( '#left-side' ),
* rightSide: document.querySelector( '#right-side' )
* },
* // Config:
* {
* label: {
* header: 'Header label',
* content: 'Content label',
* leftSide: 'Left side label',
* rightSide: 'Right side label'
* }
* }
* )
* .then( ... )
* .catch( ... );
* ```
*/
label?: string | Record<string, string>;
}

@@ -851,0 +892,0 @@ /**

8

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

@@ -27,5 +27,5 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-engine": "43.0.0",
"@ckeditor/ckeditor5-utils": "43.0.0",
"@ckeditor/ckeditor5-watchdog": "43.0.0",
"@ckeditor/ckeditor5-engine": "43.1.0-alpha.0",
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.0",
"@ckeditor/ckeditor5-watchdog": "43.1.0-alpha.0",
"lodash-es": "4.17.21"

@@ -32,0 +32,0 @@ },

@@ -845,2 +845,43 @@ /**

sanitizeHtml?: (html: string) => SanitizedOutput;
/**
* Label text for the `aria-label` attribute set on editor editing area. Used by assistive technologies
* to tell apart multiple editor instances (editing areas) on the page. If not set, a default
* "Rich Text Editor. Editing area [name of the area]" is used instead.
*
* ```ts
* ClassicEditor
* .create( document.querySelector( '#editor' ), {
* label: 'My editor'
* } )
* .then( ... )
* .catch( ... );
* ```
*
* If your editor implementation uses multiple roots, you should pass an object with keys corresponding to the editor
* roots names and values equal to the label that should be used for each root:
*
* ```ts
* MultiRootEditor.create(
* // Roots for the editor:
* {
* header: document.querySelector( '#header' ),
* content: document.querySelector( '#content' ),
* leftSide: document.querySelector( '#left-side' ),
* rightSide: document.querySelector( '#right-side' )
* },
* // Config:
* {
* label: {
* header: 'Header label',
* content: 'Content label',
* leftSide: 'Left side label',
* rightSide: 'Right side label'
* }
* }
* )
* .then( ... )
* .catch( ... );
* ```
*/
label?: string | Record<string, string>;
}

@@ -847,0 +888,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