@ckeditor/ckeditor5-core 41.3.0-alpha.4 → 41.3.1
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.
- package/lang/contexts.json +4 -2
- package/lang/translations/af.po +10 -2
- package/lang/translations/ar.po +12 -4
- package/lang/translations/ast.po +10 -2
- package/lang/translations/az.po +10 -2
- package/lang/translations/bg.po +12 -4
- package/lang/translations/bn.po +12 -4
- package/lang/translations/bs.po +10 -2
- package/lang/translations/ca.po +12 -4
- package/lang/translations/cs.po +12 -4
- package/lang/translations/da.po +12 -4
- package/lang/translations/de-ch.po +10 -2
- package/lang/translations/de.po +12 -4
- package/lang/translations/el.po +12 -4
- package/lang/translations/en-au.po +10 -2
- package/lang/translations/en-gb.po +10 -2
- package/lang/translations/en.po +12 -4
- package/lang/translations/eo.po +10 -2
- package/lang/translations/es-co.po +10 -2
- package/lang/translations/es.po +12 -4
- package/lang/translations/et.po +12 -4
- package/lang/translations/eu.po +10 -2
- package/lang/translations/fa.po +10 -2
- package/lang/translations/fi.po +12 -4
- package/lang/translations/fr.po +12 -4
- package/lang/translations/gl.po +10 -2
- package/lang/translations/gu.po +10 -2
- package/lang/translations/he.po +12 -4
- package/lang/translations/hi.po +12 -4
- package/lang/translations/hr.po +10 -2
- package/lang/translations/hu.po +12 -4
- package/lang/translations/hy.po +10 -2
- package/lang/translations/id.po +12 -4
- package/lang/translations/it.po +12 -4
- package/lang/translations/ja.po +12 -4
- package/lang/translations/jv.po +10 -2
- package/lang/translations/km.po +10 -2
- package/lang/translations/kn.po +10 -2
- package/lang/translations/ko.po +12 -4
- package/lang/translations/ku.po +10 -2
- package/lang/translations/lt.po +12 -4
- package/lang/translations/lv.po +12 -4
- package/lang/translations/ms.po +12 -4
- package/lang/translations/nb.po +10 -2
- package/lang/translations/ne.po +10 -2
- package/lang/translations/nl.po +12 -4
- package/lang/translations/no.po +12 -4
- package/lang/translations/oc.po +10 -2
- package/lang/translations/pl.po +12 -4
- package/lang/translations/pt-br.po +12 -4
- package/lang/translations/pt.po +12 -4
- package/lang/translations/ro.po +12 -4
- package/lang/translations/ru.po +12 -4
- package/lang/translations/si.po +10 -2
- package/lang/translations/sk.po +12 -4
- package/lang/translations/sl.po +10 -2
- package/lang/translations/sq.po +10 -2
- package/lang/translations/sr-latn.po +10 -2
- package/lang/translations/sr.po +12 -4
- package/lang/translations/sv.po +12 -4
- package/lang/translations/th.po +12 -4
- package/lang/translations/tk.po +10 -2
- package/lang/translations/tr.po +12 -4
- package/lang/translations/tt.po +10 -2
- package/lang/translations/ug.po +10 -2
- package/lang/translations/uk.po +12 -4
- package/lang/translations/ur.po +10 -2
- package/lang/translations/uz.po +10 -2
- package/lang/translations/vi.po +12 -4
- package/lang/translations/zh-cn.po +12 -4
- package/lang/translations/zh.po +12 -4
- package/package.json +3 -4
- package/src/accessibility.js +37 -27
- package/src/editor/editorconfig.d.ts +267 -1
- package/dist/content-index.css +0 -4
- package/dist/editor-index.css +0 -4
- package/dist/index.css +0 -4
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -5
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -5
- package/dist/translations/ast.d.ts +0 -8
- package/dist/translations/ast.js +0 -5
- package/dist/translations/az.d.ts +0 -8
- package/dist/translations/az.js +0 -5
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -5
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -5
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -5
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -5
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -5
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -5
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -5
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -5
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -5
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -5
- package/dist/translations/en-gb.d.ts +0 -8
- package/dist/translations/en-gb.js +0 -5
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -5
- package/dist/translations/eo.d.ts +0 -8
- package/dist/translations/eo.js +0 -5
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -5
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -5
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -5
- package/dist/translations/eu.d.ts +0 -8
- package/dist/translations/eu.js +0 -5
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -5
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -5
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -5
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -5
- package/dist/translations/gu.d.ts +0 -8
- package/dist/translations/gu.js +0 -5
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -5
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -5
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -5
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -5
- package/dist/translations/hy.d.ts +0 -8
- package/dist/translations/hy.js +0 -5
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -5
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -5
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -5
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -5
- package/dist/translations/km.d.ts +0 -8
- package/dist/translations/km.js +0 -5
- package/dist/translations/kn.d.ts +0 -8
- package/dist/translations/kn.js +0 -5
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -5
- package/dist/translations/ku.d.ts +0 -8
- package/dist/translations/ku.js +0 -5
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -5
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -5
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -5
- package/dist/translations/nb.d.ts +0 -8
- package/dist/translations/nb.js +0 -5
- package/dist/translations/ne.d.ts +0 -8
- package/dist/translations/ne.js +0 -5
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -5
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -5
- package/dist/translations/oc.d.ts +0 -8
- package/dist/translations/oc.js +0 -5
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -5
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -5
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -5
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -5
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -5
- package/dist/translations/si.d.ts +0 -8
- package/dist/translations/si.js +0 -5
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -5
- package/dist/translations/sl.d.ts +0 -8
- package/dist/translations/sl.js +0 -5
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -5
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -5
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -5
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -5
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -5
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -5
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -5
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -5
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -5
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -5
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -5
- package/dist/translations/uz.d.ts +0 -8
- package/dist/translations/uz.js +0 -5
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -5
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -5
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -5
- package/dist/types/accessibility.d.ts +0 -365
- package/dist/types/augmentation.d.ts +0 -14
- package/dist/types/command.d.ts +0 -193
- package/dist/types/commandcollection.d.ts +0 -87
- package/dist/types/context.d.ts +0 -241
- package/dist/types/contextplugin.d.ts +0 -65
- package/dist/types/editingkeystrokehandler.d.ts +0 -60
- package/dist/types/editor/editor.d.ts +0 -482
- package/dist/types/editor/editorconfig.d.ts +0 -670
- package/dist/types/editor/utils/attachtoform.d.ts +0 -19
- package/dist/types/editor/utils/dataapimixin.d.ts +0 -83
- package/dist/types/editor/utils/elementapimixin.d.ts +0 -39
- package/dist/types/editor/utils/securesourceelement.d.ts +0 -21
- package/dist/types/index.d.ts +0 -93
- package/dist/types/multicommand.d.ts +0 -70
- package/dist/types/pendingactions.d.ts +0 -121
- package/dist/types/plugin.d.ts +0 -278
- package/dist/types/plugincollection.d.ts +0 -121
- package/dist/types/typings.d.ts +0 -15
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ug.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"ug":{"dictionary":{"Cancel":"ۋاز كەچ","Clear":"تازىلا","Remove color":"رەڭنى چىقىرىۋەت","Restore default":"كۆڭۈلدىكىگە قايتۇر","Save":"ساقلا","Show more items":"تېخىمۇ كۆپ تۈرنى كۆرسەت","%0 of %1":"%0 / %1","Cannot upload file:":"يۈكلەشكە بولمايدىغان ھۆججەت:","Rich Text Editor. Editing area: %0":"مول تېكىست تەھرىرلىگۈچ. تەھرىرلەش رايونى: %0","Insert with file manager":"","Replace with file manager":"","Insert image with file manager":"","Replace image with file manager":"","Toggle caption off":"","Toggle caption on":"","Content editing keystrokes":"","These keyboard shortcuts allow for quick access to content editing features.":"","User interface and content navigation keystrokes":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","Close contextual balloons, dropdowns, and dialogs":"","Open the accessibility help dialog":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar":"","Execute the currently focused button":""},getPluralForm(n){return (n != 1);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/uk.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"uk":{"dictionary":{"Cancel":"Відміна","Clear":"Очистити","Remove color":"Видалити колір","Restore default":"Відновити за замовчуванням","Save":"Зберегти","Show more items":"Показати більше","%0 of %1":"%0 із %1","Cannot upload file:":"Неможливо завантажити файл:","Rich Text Editor. Editing area: %0":"Редактор Rich Text. Область редагування: %0","Insert with file manager":"Вставити за допомогою файлового менеджера","Replace with file manager":"Замінити за допомогою файлового менеджера","Insert image with file manager":"Вставити зображення за допомогою файлового менеджера","Replace image with file manager":"Замінити зображення за допомогою файлового менеджера","Toggle caption off":"Вимкнути підпис","Toggle caption on":"Увімкнути підпис","Content editing keystrokes":"Натискання клавіш для редагування вмісту","These keyboard shortcuts allow for quick access to content editing features.":"Ці комбінації клавіш забезпечують швидкий доступ до функцій редагування вмісту.","User interface and content navigation keystrokes":"Інтерфейс користувача та клавіші навігації вмістом","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Використовуйте наведені нижче комбінації клавіш для більш ефективної навігації в інтерфейсі користувача CKEditor 5.","Close contextual balloons, dropdowns, and dialogs":"Закрити контекстні виноски, спадні списки та діалогові вікна","Open the accessibility help dialog":"Відкрийте діалогове вікно довідки для доступності","Move focus between form fields (inputs, buttons, etc.)":"Переміщення фокуса між полями форми (введення, кнопки тощо)","Move focus to the toolbar, navigate between toolbars":"Переміщення фокуса на панель інструментів, навігація між панелями інструментів","Navigate through the toolbar":"Навігація по панелі інструментів","Execute the currently focused button":"Виконати кнопку, у якій зараз знаходиться фокус"},getPluralForm(n){return (n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ur.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"ur":{"dictionary":{"Cancel":"منسوخ","Clear":"","Remove color":"رنگ حذف کریں","Restore default":"طے شدہ بحال","Save":"محفوظ","Show more items":"مزید مواد کی نمائش کریں","%0 of %1":"0% میں سے 1%","Cannot upload file:":"فائل اپلوڈ نہیں ہو سکی:","Rich Text Editor. Editing area: %0":"خانۂ ترمیم۔ علاقۂ ترمیم 0%","Insert with file manager":"","Replace with file manager":"","Insert image with file manager":"","Replace image with file manager":"","Toggle caption off":"","Toggle caption on":"","Content editing keystrokes":"","These keyboard shortcuts allow for quick access to content editing features.":"","User interface and content navigation keystrokes":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","Close contextual balloons, dropdowns, and dialogs":"","Open the accessibility help dialog":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar":"","Execute the currently focused button":""},getPluralForm(n){return (n != 1);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/uz.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"uz":{"dictionary":{"Cancel":"Bekor qilish","Clear":"O'chirish","Remove color":"Rangni olib tashlash","Restore default":"","Save":"Saqlash","Show more items":"","%0 of %1":"","Cannot upload file:":"","Rich Text Editor. Editing area: %0":"","Insert with file manager":"","Replace with file manager":"","Insert image with file manager":"","Replace image with file manager":"","Toggle caption off":"","Toggle caption on":"","Content editing keystrokes":"","These keyboard shortcuts allow for quick access to content editing features.":"","User interface and content navigation keystrokes":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","Close contextual balloons, dropdowns, and dialogs":"","Open the accessibility help dialog":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Navigate through the toolbar":"","Execute the currently focused button":""},getPluralForm(n){return 0;}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/vi.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"vi":{"dictionary":{"Cancel":"Hủy","Clear":"Xóa","Remove color":"Xóa màu","Restore default":"Khôi phục giá trị mặc định","Save":"Lưu","Show more items":"Xem thêm","%0 of %1":"%0 đến %1","Cannot upload file:":"Không thể tải file:","Rich Text Editor. Editing area: %0":"Trình chỉnh sửa Văn bản dạng RTF. Vùng chỉnh sửa: %0","Insert with file manager":"Chèn bằng trình quản lý tập tin","Replace with file manager":"Thay thế bằng trình quản lý tập tin","Insert image with file manager":"Chèn hình ảnh bằng trình quản lý tập tin","Replace image with file manager":"Thay thế hình ảnh bằng trình quản lý tập tin","Toggle caption off":"Ẩn chú thích","Toggle caption on":"Hiện chú thích","Content editing keystrokes":"Tổ hợp phím chỉnh sửa nội dung","These keyboard shortcuts allow for quick access to content editing features.":"Những phím tắt này giúp bạn truy cập nhanh vào các tính năng chỉnh sửa nội dung.","User interface and content navigation keystrokes":"Giao diện người dùng và tổ hợp phím điều hướng nội dung","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Sử dụng các tổ hợp phím sau đây để điều hướng hiệu quả hơn trong giao diện người dùng CKEditor 5.","Close contextual balloons, dropdowns, and dialogs":"Đóng bong bóng theo ngữ cảnh, menu thả xuống và hộp thoại","Open the accessibility help dialog":"Mở hộp thoại trợ giúp về khả năng tiếp cận","Move focus between form fields (inputs, buttons, etc.)":"Di chuyển tiêu điểm giữa các trường biểu mẫu (nội dung nhập, nút, v.v.)","Move focus to the toolbar, navigate between toolbars":"Di chuyển tiêu điểm đến thanh công cụ, điều hướng giữa các thanh công cụ","Navigate through the toolbar":"Điều hướng qua thanh công cụ","Execute the currently focused button":"Thực thi nút hiện đang có tiêu điểm"},getPluralForm(n){return 0;}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"zh-cn":{"dictionary":{"Cancel":"取消","Clear":"清除","Remove color":"移除颜色","Restore default":"恢复默认","Save":"保存","Show more items":"显示更多","%0 of %1":"第 %0 步,共 %1 步","Cannot upload file:":"无法上传的文件:","Rich Text Editor. Editing area: %0":"富文本编辑器。编辑区域:%0","Insert with file manager":"使用文件管理器插入","Replace with file manager":"使用文件管理器替换","Insert image with file manager":"使用文件管理器插入图片","Replace image with file manager":"使用文件管理器替换图片","Toggle caption off":"关闭表标题","Toggle caption on":"打开表标题","Content editing keystrokes":"内容编辑按键","These keyboard shortcuts allow for quick access to content editing features.":"这些键盘快捷键允许快速访问内容编辑功能。","User interface and content navigation keystrokes":"用户界面和内容导航按键","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"使用以下按键可以在 CKEditor 5 用户界面中进行更有效地导览。","Close contextual balloons, dropdowns, and dialogs":"关闭上下文气泡框、下拉菜单和对话框","Open the accessibility help dialog":"打开“无障碍辅助功能帮助”对话框","Move focus between form fields (inputs, buttons, etc.)":"在表单字段(输入、按钮等)之间移动焦点","Move focus to the toolbar, navigate between toolbars":"将焦点移至工具栏,在工具栏之间导览","Navigate through the toolbar":"在工具栏中进行导览","Execute the currently focused button":"执行当前聚焦的按钮"},getPluralForm(n){return 0;}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/zh.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"zh":{"dictionary":{"Cancel":"取消","Clear":"清除","Remove color":"移除顏色","Restore default":"重設至預設值","Save":"儲存","Show more items":"顯示更多","%0 of %1":"%0/%1","Cannot upload file:":"無法上傳檔案:","Rich Text Editor. Editing area: %0":"RTF 編輯器。編輯區:%0","Insert with file manager":"使用檔案管理員插入","Replace with file manager":"使用檔案管理員替換","Insert image with file manager":"使用檔案管理員插入圖片","Replace image with file manager":"使用檔案管理員替換圖片","Toggle caption off":"關閉表標題","Toggle caption on":"開啟表標題","Content editing keystrokes":"內容編輯按鍵","These keyboard shortcuts allow for quick access to content editing features.":"運用這些鍵盤快捷鍵可快速使用內容編輯功能。","User interface and content navigation keystrokes":"使用者介面和內容瀏覽按鍵","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"使用以下按鍵可更有效率地在 CKEditor 5 使用者介面中移動。","Close contextual balloons, dropdowns, and dialogs":"關閉選單提示、下拉式選單和對話框","Open the accessibility help dialog":"開啟無障礙協助對話框","Move focus between form fields (inputs, buttons, etc.)":"在表單欄位(輸入、按鈕等)之間移動焦點","Move focus to the toolbar, navigate between toolbars":"將焦點移動至工具列,在工具列間移動","Navigate through the toolbar":"在工具列間移動","Execute the currently focused button":"執行目前焦點所在的按鈕"},getPluralForm(n){return 0;}}}
|
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
import type Editor from './editor/editor.js';
|
|
10
|
-
export declare const DEFAULT_GROUP_ID: "common";
|
|
11
|
-
/**
|
|
12
|
-
* A common namespace for various accessibility features of the editor.
|
|
13
|
-
*
|
|
14
|
-
* **Information about editor keystrokes**
|
|
15
|
-
*
|
|
16
|
-
* * The information about keystrokes available in the editor is stored in the {@link #keystrokeInfos} property.
|
|
17
|
-
* * New info entries can be added using the {@link #addKeystrokeInfoCategory}, {@link #addKeystrokeInfoGroup},
|
|
18
|
-
* and {@link #addKeystrokeInfos} methods.
|
|
19
|
-
*/
|
|
20
|
-
export default class Accessibility {
|
|
21
|
-
/**
|
|
22
|
-
* Stores information about keystrokes brought by editor features for the users to interact with the editor, mainly
|
|
23
|
-
* keystroke combinations and their accessible labels.
|
|
24
|
-
*
|
|
25
|
-
* This information is particularly useful for screen reader and other assistive technology users. It gets displayed
|
|
26
|
-
* by the {@link module:ui/editorui/accessibilityhelp/accessibilityhelp~AccessibilityHelp Accessibility help} dialog.
|
|
27
|
-
*
|
|
28
|
-
* Keystrokes are organized in categories and groups. They can be added using ({@link #addKeystrokeInfoCategory},
|
|
29
|
-
* {@link #addKeystrokeInfoGroup}, and {@link #addKeystrokeInfos}) methods.
|
|
30
|
-
*
|
|
31
|
-
* Please note that:
|
|
32
|
-
* * two categories are always available:
|
|
33
|
-
* * `'contentEditing'` for keystrokes related to content creation,
|
|
34
|
-
* * `'navigation'` for keystrokes related to navigation in the UI and the content.
|
|
35
|
-
* * unless specified otherwise, new keystrokes are added into the `'contentEditing'` category and the `'common'`
|
|
36
|
-
* keystroke group within that category while using the {@link #addKeystrokeInfos} method.
|
|
37
|
-
*/
|
|
38
|
-
readonly keystrokeInfos: KeystrokeInfos;
|
|
39
|
-
/**
|
|
40
|
-
* The editor instance.
|
|
41
|
-
*/
|
|
42
|
-
private readonly _editor;
|
|
43
|
-
/**
|
|
44
|
-
* @inheritDoc
|
|
45
|
-
*/
|
|
46
|
-
constructor(editor: Editor);
|
|
47
|
-
/**
|
|
48
|
-
* Adds a top-level category in the {@link #keystrokeInfos keystroke information database} with a label and optional description.
|
|
49
|
-
*
|
|
50
|
-
* Categories organize keystrokes and help users to find the right keystroke. Each category can have multiple groups
|
|
51
|
-
* of keystrokes that narrow down the context in which the keystrokes are available. Every keystroke category comes
|
|
52
|
-
* with a `'common'` group by default.
|
|
53
|
-
*
|
|
54
|
-
* By default, two categories are available:
|
|
55
|
-
* * `'contentEditing'` for keystrokes related to content creation,
|
|
56
|
-
* * `'navigation'` for keystrokes related to navigation in the UI and the content.
|
|
57
|
-
*
|
|
58
|
-
* To create a new keystroke category with new groups, use the following code:
|
|
59
|
-
*
|
|
60
|
-
* ```js
|
|
61
|
-
* class MyPlugin extends Plugin {
|
|
62
|
-
* // ...
|
|
63
|
-
* init() {
|
|
64
|
-
* const editor = this.editor;
|
|
65
|
-
* const t = editor.t;
|
|
66
|
-
*
|
|
67
|
-
* // ...
|
|
68
|
-
*
|
|
69
|
-
* editor.accessibility.addKeystrokeInfoCategory( {
|
|
70
|
-
* id: 'myCategory',
|
|
71
|
-
* label: t( 'My category' ),
|
|
72
|
-
* description: t( 'My category description.' ),
|
|
73
|
-
* groups: [
|
|
74
|
-
* {
|
|
75
|
-
* id: 'myGroup',
|
|
76
|
-
* label: t( 'My keystroke group' ),
|
|
77
|
-
* keystrokes: [
|
|
78
|
-
* {
|
|
79
|
-
* label: t( 'Keystroke label 1' ),
|
|
80
|
-
* keystroke: 'Ctrl+Shift+N'
|
|
81
|
-
* },
|
|
82
|
-
* {
|
|
83
|
-
* label: t( 'Keystroke label 2' ),
|
|
84
|
-
* keystroke: 'Ctrl+Shift+M'
|
|
85
|
-
* }
|
|
86
|
-
* ]
|
|
87
|
-
* }
|
|
88
|
-
* ]
|
|
89
|
-
* };
|
|
90
|
-
* }
|
|
91
|
-
* }
|
|
92
|
-
* ```
|
|
93
|
-
*
|
|
94
|
-
* See {@link #keystrokeInfos}, {@link #addKeystrokeInfoGroup}, and {@link #addKeystrokeInfos}.
|
|
95
|
-
*/
|
|
96
|
-
addKeystrokeInfoCategory({ id, label, description, groups }: AddKeystrokeInfoCategoryData): void;
|
|
97
|
-
/**
|
|
98
|
-
* Adds a group of keystrokes in a specific category to the {@link #keystrokeInfos keystroke information database}.
|
|
99
|
-
*
|
|
100
|
-
* Groups narrow down the context in which the keystrokes are available. When `categoryId` is not specified,
|
|
101
|
-
* the group goes to the `'contentEditing'` category (default).
|
|
102
|
-
*
|
|
103
|
-
* To create a new group within an existing category, use the following code:
|
|
104
|
-
*
|
|
105
|
-
* ```js
|
|
106
|
-
* class MyPlugin extends Plugin {
|
|
107
|
-
* // ...
|
|
108
|
-
* init() {
|
|
109
|
-
* const editor = this.editor;
|
|
110
|
-
* const t = editor.t;
|
|
111
|
-
*
|
|
112
|
-
* // ...
|
|
113
|
-
*
|
|
114
|
-
* editor.accessibility.addKeystrokeInfoGroup( {
|
|
115
|
-
* id: 'myGroup',
|
|
116
|
-
* categoryId: 'navigation',
|
|
117
|
-
* label: t( 'My keystroke group' ),
|
|
118
|
-
* keystrokes: [
|
|
119
|
-
* {
|
|
120
|
-
* label: t( 'Keystroke label 1' ),
|
|
121
|
-
* keystroke: 'Ctrl+Shift+N'
|
|
122
|
-
* },
|
|
123
|
-
* {
|
|
124
|
-
* label: t( 'Keystroke label 2' ),
|
|
125
|
-
* keystroke: 'Ctrl+Shift+M'
|
|
126
|
-
* }
|
|
127
|
-
* ]
|
|
128
|
-
* } );
|
|
129
|
-
* }
|
|
130
|
-
* }
|
|
131
|
-
* ```
|
|
132
|
-
*
|
|
133
|
-
* See {@link #keystrokeInfos}, {@link #addKeystrokeInfoCategory}, and {@link #addKeystrokeInfos}.
|
|
134
|
-
*/
|
|
135
|
-
addKeystrokeInfoGroup({ categoryId, id, label, keystrokes }: AddKeystrokeInfoGroupData): void;
|
|
136
|
-
/**
|
|
137
|
-
* Adds information about keystrokes to the {@link #keystrokeInfos keystroke information database}.
|
|
138
|
-
*
|
|
139
|
-
* Keystrokes without specified `groupId` or `categoryId` go to the `'common'` group in the `'contentEditing'` category (default).
|
|
140
|
-
*
|
|
141
|
-
* To add a keystroke brought by your plugin (using default group and category), use the following code:
|
|
142
|
-
*
|
|
143
|
-
* ```js
|
|
144
|
-
* class MyPlugin extends Plugin {
|
|
145
|
-
* // ...
|
|
146
|
-
* init() {
|
|
147
|
-
* const editor = this.editor;
|
|
148
|
-
* const t = editor.t;
|
|
149
|
-
*
|
|
150
|
-
* // ...
|
|
151
|
-
*
|
|
152
|
-
* editor.accessibility.addKeystrokeInfos( {
|
|
153
|
-
* keystrokes: [
|
|
154
|
-
* {
|
|
155
|
-
* label: t( 'Keystroke label' ),
|
|
156
|
-
* keystroke: 'CTRL+B'
|
|
157
|
-
* }
|
|
158
|
-
* ]
|
|
159
|
-
* } );
|
|
160
|
-
* }
|
|
161
|
-
* }
|
|
162
|
-
* ```
|
|
163
|
-
* To add a keystroke in a specific existing `'widget'` group in the default `'contentEditing'` category:
|
|
164
|
-
*
|
|
165
|
-
* ```js
|
|
166
|
-
* class MyPlugin extends Plugin {
|
|
167
|
-
* // ...
|
|
168
|
-
* init() {
|
|
169
|
-
* const editor = this.editor;
|
|
170
|
-
* const t = editor.t;
|
|
171
|
-
*
|
|
172
|
-
* // ...
|
|
173
|
-
*
|
|
174
|
-
* editor.accessibility.addKeystrokeInfos( {
|
|
175
|
-
* // Add a keystroke to the existing "widget" group.
|
|
176
|
-
* groupId: 'widget',
|
|
177
|
-
* keystrokes: [
|
|
178
|
-
* {
|
|
179
|
-
* label: t( 'A an action on a selected widget' ),
|
|
180
|
-
* keystroke: 'Ctrl+D',
|
|
181
|
-
* }
|
|
182
|
-
* ]
|
|
183
|
-
* } );
|
|
184
|
-
* }
|
|
185
|
-
* }
|
|
186
|
-
* ```
|
|
187
|
-
*
|
|
188
|
-
* To add a keystroke to another existing category (using default group):
|
|
189
|
-
*
|
|
190
|
-
* ```js
|
|
191
|
-
* class MyPlugin extends Plugin {
|
|
192
|
-
* // ...
|
|
193
|
-
* init() {
|
|
194
|
-
* const editor = this.editor;
|
|
195
|
-
* const t = editor.t;
|
|
196
|
-
*
|
|
197
|
-
* // ...
|
|
198
|
-
*
|
|
199
|
-
* editor.accessibility.addKeystrokeInfos( {
|
|
200
|
-
* // Add keystrokes to the "navigation" category (one of defaults).
|
|
201
|
-
* categoryId: 'navigation',
|
|
202
|
-
* keystrokes: [
|
|
203
|
-
* {
|
|
204
|
-
* label: t( 'Keystroke label' ),
|
|
205
|
-
* keystroke: 'CTRL+B'
|
|
206
|
-
* }
|
|
207
|
-
* ]
|
|
208
|
-
* } );
|
|
209
|
-
* }
|
|
210
|
-
* }
|
|
211
|
-
* ```
|
|
212
|
-
*
|
|
213
|
-
* See {@link #keystrokeInfos}, {@link #addKeystrokeInfoGroup}, and {@link #addKeystrokeInfoCategory}.
|
|
214
|
-
*/
|
|
215
|
-
addKeystrokeInfos({ categoryId, groupId, keystrokes }: AddKeystrokeInfosData): void;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* A description of category of keystrokes accepted by the {@link module:core/accessibility~Accessibility#addKeystrokeInfoCategory} method.
|
|
219
|
-
*
|
|
220
|
-
* Top-level categories organize keystrokes and help users to find the right keystroke. Each category can have multiple groups of
|
|
221
|
-
* keystrokes that narrow down the context in which the keystrokes are available.
|
|
222
|
-
*
|
|
223
|
-
* See {@link module:core/accessibility~Accessibility#addKeystrokeInfoGroup} and
|
|
224
|
-
* {@link module:core/accessibility~Accessibility#addKeystrokeInfos}.
|
|
225
|
-
*/
|
|
226
|
-
export interface AddKeystrokeInfoCategoryData {
|
|
227
|
-
/**
|
|
228
|
-
* The unique id of the category.
|
|
229
|
-
*/
|
|
230
|
-
id: string;
|
|
231
|
-
/**
|
|
232
|
-
* The label of the category.
|
|
233
|
-
*/
|
|
234
|
-
label: string;
|
|
235
|
-
/**
|
|
236
|
-
* The description of the category (optional).
|
|
237
|
-
*/
|
|
238
|
-
description?: string;
|
|
239
|
-
/**
|
|
240
|
-
* Groups of keystrokes within the category.
|
|
241
|
-
*/
|
|
242
|
-
groups?: Array<AddKeystrokeInfoGroupData>;
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* A description of keystroke group accepted by the {@link module:core/accessibility~Accessibility#addKeystrokeInfoGroup} method.
|
|
246
|
-
*
|
|
247
|
-
* Groups narrow down the context in which the keystrokes are available. When `categoryId` is not specified, the group goes
|
|
248
|
-
* to the `'contentEditing'` category (default).
|
|
249
|
-
*
|
|
250
|
-
* See {@link module:core/accessibility~Accessibility#addKeystrokeInfoCategory} and
|
|
251
|
-
* {@link module:core/accessibility~Accessibility#addKeystrokeInfos}.
|
|
252
|
-
*/
|
|
253
|
-
export interface AddKeystrokeInfoGroupData {
|
|
254
|
-
/**
|
|
255
|
-
* The category id the group belongs to.
|
|
256
|
-
*/
|
|
257
|
-
categoryId?: string;
|
|
258
|
-
/**
|
|
259
|
-
* The unique id of the group.
|
|
260
|
-
*/
|
|
261
|
-
id: string;
|
|
262
|
-
/**
|
|
263
|
-
* The label of the group (optional).
|
|
264
|
-
*/
|
|
265
|
-
label?: string;
|
|
266
|
-
/**
|
|
267
|
-
* Keystroke definitions within the group.
|
|
268
|
-
*/
|
|
269
|
-
keystrokes?: Array<KeystrokeInfoDefinition>;
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* Description of keystrokes accepted by the {@link module:core/accessibility~Accessibility#addKeystrokeInfos} method.
|
|
273
|
-
*
|
|
274
|
-
* Keystrokes without specified `groupId` or `categoryId` go to the `'common'` group in the `'contentEditing'` category (default).
|
|
275
|
-
*
|
|
276
|
-
* See {@link module:core/accessibility~Accessibility#addKeystrokeInfoCategory} and
|
|
277
|
-
* {@link module:core/accessibility~Accessibility#addKeystrokeInfoGroup}.
|
|
278
|
-
*/
|
|
279
|
-
export interface AddKeystrokeInfosData {
|
|
280
|
-
/**
|
|
281
|
-
* The category id the keystrokes belong to.
|
|
282
|
-
*/
|
|
283
|
-
categoryId?: string;
|
|
284
|
-
/**
|
|
285
|
-
* The group id the keystrokes belong to.
|
|
286
|
-
*/
|
|
287
|
-
groupId?: string;
|
|
288
|
-
/**
|
|
289
|
-
* An array of keystroke definitions.
|
|
290
|
-
*/
|
|
291
|
-
keystrokes: Array<KeystrokeInfoDefinition>;
|
|
292
|
-
}
|
|
293
|
-
export type KeystrokeInfos = Map<string, KeystrokeInfoCategory>;
|
|
294
|
-
/**
|
|
295
|
-
* A category of keystrokes in {@link module:core/accessibility~Accessibility#keystrokeInfos}.
|
|
296
|
-
*/
|
|
297
|
-
export type KeystrokeInfoCategory = {
|
|
298
|
-
/**
|
|
299
|
-
* The unique id of the category.
|
|
300
|
-
*/
|
|
301
|
-
id: string;
|
|
302
|
-
/**
|
|
303
|
-
* The label of the category.
|
|
304
|
-
*/
|
|
305
|
-
label: string;
|
|
306
|
-
/**
|
|
307
|
-
* The description of the category (optional).
|
|
308
|
-
*/
|
|
309
|
-
description?: string;
|
|
310
|
-
/**
|
|
311
|
-
* Groups of keystrokes within the category.
|
|
312
|
-
*/
|
|
313
|
-
groups: Map<string, KeystrokeInfoGroup>;
|
|
314
|
-
};
|
|
315
|
-
/**
|
|
316
|
-
* A group of keystrokes in {@link module:core/accessibility~Accessibility#keystrokeInfos}.
|
|
317
|
-
*/
|
|
318
|
-
export type KeystrokeInfoGroup = {
|
|
319
|
-
/**
|
|
320
|
-
* The unique id of the group.
|
|
321
|
-
*/
|
|
322
|
-
id: string;
|
|
323
|
-
/**
|
|
324
|
-
* The label of the group (optional).
|
|
325
|
-
*/
|
|
326
|
-
label?: string;
|
|
327
|
-
/**
|
|
328
|
-
* Keystroke definitions within the group.
|
|
329
|
-
*/
|
|
330
|
-
keystrokes: Array<KeystrokeInfoDefinition>;
|
|
331
|
-
};
|
|
332
|
-
/**
|
|
333
|
-
* A keystroke info definition in {@link module:core/accessibility~Accessibility#keystrokeInfos}
|
|
334
|
-
*/
|
|
335
|
-
export interface KeystrokeInfoDefinition {
|
|
336
|
-
/**
|
|
337
|
-
* The label of the keystroke. It should briefly describe the action that the keystroke performs. It may contain HTML.
|
|
338
|
-
*/
|
|
339
|
-
label: string;
|
|
340
|
-
/**
|
|
341
|
-
* The keystroke string. In its basic form, it must be a combination of {@link module:utils/keyboard#keyCodes known key names}
|
|
342
|
-
* joined by the `+` sign, the same as the keystroke format accepted by the
|
|
343
|
-
* {@link module:utils/keystrokehandler~KeystrokeHandler#set `KeystrokeHandler#set()`} method used to register most of the
|
|
344
|
-
* keystroke interactions in the editor.
|
|
345
|
-
*
|
|
346
|
-
* * The keystroke string can represent a single keystroke, for instance: `keystroke: 'Ctrl+B'`, `keystroke: 'Shift+Enter'`,
|
|
347
|
-
* `keystroke: 'Alt+F10'`, etc.
|
|
348
|
-
* * The keystroke can be activated by successive press of multiple keys. For instance `keystroke: [ [ 'arrowleft', 'arrowleft' ] ]`
|
|
349
|
-
* will indicate that a specific action will be performed by pressing <kbd>←</kbd> twice in a row.
|
|
350
|
-
* * Keystrokes can have alternatives. For instance `keystroke: [ [ 'Ctrl+Y' ], [ 'Ctrl+Shift+Z' ] ]` will indicate that
|
|
351
|
-
* a specific action can be performed by pressing either <kbd>Ctrl</kbd> + <kbd>Y</kbd> or
|
|
352
|
-
* <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>Z</kbd>.
|
|
353
|
-
*
|
|
354
|
-
* Please note that the keystrokes are automatically translated to the environment-specific form. For example, `Ctrl+A`
|
|
355
|
-
* will be rendered as `⌘A` in the {@link module:utils/env~EnvType#isMac Mac environment}. Always use the IBM PC keyboard
|
|
356
|
-
* syntax, for instance `Ctrl` instead of `⌘`, `Alt` instead of `⌥`, etc.
|
|
357
|
-
*/
|
|
358
|
-
keystroke: string | Array<string> | Array<Array<string>>;
|
|
359
|
-
/**
|
|
360
|
-
* This (optional) flag suggests that the keystroke(s) may require a function (<kbd>Fn</kbd>) key to be pressed
|
|
361
|
-
* in order to work in the {@link module:utils/env~EnvType#isMac Mac environment}. If set `true`, an additional
|
|
362
|
-
* information will be displayed next to the keystroke.
|
|
363
|
-
*/
|
|
364
|
-
mayRequireFn?: boolean;
|
|
365
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
import type { PendingActions } from './index.js';
|
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
11
|
-
interface PluginsMap {
|
|
12
|
-
[PendingActions.pluginName]: PendingActions;
|
|
13
|
-
}
|
|
14
|
-
}
|