@ckeditor/ckeditor5-widget 0.0.0-nightly-20240401.0 → 0.0.0-nightly-20240403.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @ckeditor/ckeditor5-widget might be problematic. Click here for more details.
- package/package.json +7 -7
- package/src/utils.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-widget",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240403.0",
|
|
4
4
|
"description": "Widget API for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
16
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
17
|
-
"@ckeditor/ckeditor5-enter": "0.0.0-nightly-
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
20
|
-
"@ckeditor/ckeditor5-typing": "0.0.0-nightly-
|
|
15
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20240403.0",
|
|
16
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20240403.0",
|
|
17
|
+
"@ckeditor/ckeditor5-enter": "0.0.0-nightly-20240403.0",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240403.0",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240403.0",
|
|
20
|
+
"@ckeditor/ckeditor5-typing": "0.0.0-nightly-20240403.0",
|
|
21
21
|
"lodash-es": "4.17.21"
|
|
22
22
|
},
|
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
package/src/utils.js
CHANGED
|
@@ -213,6 +213,7 @@ export function getLabel(element) {
|
|
|
213
213
|
export function toWidgetEditable(editable, writer, options = {}) {
|
|
214
214
|
writer.addClass(['ck-editor__editable', 'ck-editor__nested-editable'], editable);
|
|
215
215
|
writer.setAttribute('role', 'textbox', editable);
|
|
216
|
+
writer.setAttribute('tabindex', '-1', editable);
|
|
216
217
|
if (options.label) {
|
|
217
218
|
writer.setAttribute('aria-label', options.label, editable);
|
|
218
219
|
}
|