@ckeditor/ckeditor5-core
Advanced tools
Comparing version 43.0.0 to 43.1.0-alpha.0
@@ -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 @@ /** |
{ | ||
"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 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1940874
13810
1
+ Added@ckeditor/ckeditor5-engine@43.1.0-alpha.0(transitive)
+ Added@ckeditor/ckeditor5-utils@43.1.0-alpha.0(transitive)
+ Added@ckeditor/ckeditor5-watchdog@43.1.0-alpha.0(transitive)
- Removed@ckeditor/ckeditor5-engine@43.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@43.0.0(transitive)
- Removed@ckeditor/ckeditor5-watchdog@43.0.0(transitive)