@ckeditor/ckeditor5-collaboration-core 44.1.0 → 44.2.0-alpha.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.
- package/LICENSE.md +2 -2
- package/README.md +1 -1
- package/dist/index-content.css +2 -2
- package/dist/index-editor.css +2 -2
- package/dist/index.css +19 -19
- package/dist/index.js +2 -2
- package/dist/translations/af.d.ts +2 -2
- package/dist/translations/af.js +2 -2
- package/dist/translations/af.umd.js +2 -2
- package/dist/translations/ar.d.ts +2 -2
- package/dist/translations/ar.js +2 -2
- package/dist/translations/ar.umd.js +2 -2
- package/dist/translations/ast.d.ts +2 -2
- package/dist/translations/ast.js +2 -2
- package/dist/translations/ast.umd.js +2 -2
- package/dist/translations/az.d.ts +2 -2
- package/dist/translations/az.js +2 -2
- package/dist/translations/az.umd.js +2 -2
- package/dist/translations/bg.d.ts +2 -2
- package/dist/translations/bg.js +2 -2
- package/dist/translations/bg.umd.js +2 -2
- package/dist/translations/bn.d.ts +2 -2
- package/dist/translations/bn.js +2 -2
- package/dist/translations/bn.umd.js +2 -2
- package/dist/translations/bs.d.ts +2 -2
- package/dist/translations/bs.js +2 -2
- package/dist/translations/bs.umd.js +2 -2
- package/dist/translations/ca.d.ts +2 -2
- package/dist/translations/ca.js +2 -2
- package/dist/translations/ca.umd.js +2 -2
- package/dist/translations/cs.d.ts +2 -2
- package/dist/translations/cs.js +2 -2
- package/dist/translations/cs.umd.js +2 -2
- package/dist/translations/da.d.ts +2 -2
- package/dist/translations/da.js +2 -2
- package/dist/translations/da.umd.js +2 -2
- package/dist/translations/de-ch.d.ts +2 -2
- package/dist/translations/de-ch.js +2 -2
- package/dist/translations/de-ch.umd.js +2 -2
- package/dist/translations/de.d.ts +2 -2
- package/dist/translations/de.js +2 -2
- package/dist/translations/de.umd.js +2 -2
- package/dist/translations/el.d.ts +2 -2
- package/dist/translations/el.js +2 -2
- package/dist/translations/el.umd.js +2 -2
- package/dist/translations/en-au.d.ts +2 -2
- package/dist/translations/en-au.js +2 -2
- package/dist/translations/en-au.umd.js +2 -2
- package/dist/translations/en-gb.d.ts +2 -2
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en-gb.umd.js +2 -2
- package/dist/translations/en.d.ts +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/en.umd.js +2 -2
- package/dist/translations/eo.d.ts +2 -2
- package/dist/translations/eo.js +2 -2
- package/dist/translations/eo.umd.js +2 -2
- package/dist/translations/es-co.d.ts +2 -2
- package/dist/translations/es-co.js +2 -2
- package/dist/translations/es-co.umd.js +2 -2
- package/dist/translations/es.d.ts +2 -2
- package/dist/translations/es.js +2 -2
- package/dist/translations/es.umd.js +2 -2
- package/dist/translations/et.d.ts +2 -2
- package/dist/translations/et.js +2 -2
- package/dist/translations/et.umd.js +2 -2
- package/dist/translations/eu.d.ts +2 -2
- package/dist/translations/eu.js +2 -2
- package/dist/translations/eu.umd.js +2 -2
- package/dist/translations/fa.d.ts +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fa.umd.js +2 -2
- package/dist/translations/fi.d.ts +2 -2
- package/dist/translations/fi.js +2 -2
- package/dist/translations/fi.umd.js +2 -2
- package/dist/translations/fr.d.ts +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/fr.umd.js +2 -2
- package/dist/translations/gl.d.ts +2 -2
- package/dist/translations/gl.js +2 -2
- package/dist/translations/gl.umd.js +2 -2
- package/dist/translations/gu.d.ts +2 -2
- package/dist/translations/gu.js +2 -2
- package/dist/translations/gu.umd.js +2 -2
- package/dist/translations/he.d.ts +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/he.umd.js +2 -2
- package/dist/translations/hi.d.ts +2 -2
- package/dist/translations/hi.js +2 -2
- package/dist/translations/hi.umd.js +2 -2
- package/dist/translations/hr.d.ts +2 -2
- package/dist/translations/hr.js +2 -2
- package/dist/translations/hr.umd.js +2 -2
- package/dist/translations/hu.d.ts +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/hu.umd.js +2 -2
- package/dist/translations/hy.d.ts +2 -2
- package/dist/translations/hy.js +2 -2
- package/dist/translations/hy.umd.js +2 -2
- package/dist/translations/id.d.ts +2 -2
- package/dist/translations/id.js +2 -2
- package/dist/translations/id.umd.js +2 -2
- package/dist/translations/it.d.ts +2 -2
- package/dist/translations/it.js +2 -2
- package/dist/translations/it.umd.js +2 -2
- package/dist/translations/ja.d.ts +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/ja.umd.js +2 -2
- package/dist/translations/jv.d.ts +2 -2
- package/dist/translations/jv.js +2 -2
- package/dist/translations/jv.umd.js +2 -2
- package/dist/translations/kk.d.ts +2 -2
- package/dist/translations/kk.js +2 -2
- package/dist/translations/kk.umd.js +2 -2
- package/dist/translations/km.d.ts +2 -2
- package/dist/translations/km.js +2 -2
- package/dist/translations/km.umd.js +2 -2
- package/dist/translations/kn.d.ts +2 -2
- package/dist/translations/kn.js +2 -2
- package/dist/translations/kn.umd.js +2 -2
- package/dist/translations/ko.d.ts +2 -2
- package/dist/translations/ko.js +2 -2
- package/dist/translations/ko.umd.js +2 -2
- package/dist/translations/ku.d.ts +2 -2
- package/dist/translations/ku.js +2 -2
- package/dist/translations/ku.umd.js +2 -2
- package/dist/translations/lt.d.ts +2 -2
- package/dist/translations/lt.js +2 -2
- package/dist/translations/lt.umd.js +2 -2
- package/dist/translations/lv.d.ts +2 -2
- package/dist/translations/lv.js +2 -2
- package/dist/translations/lv.umd.js +2 -2
- package/dist/translations/ms.d.ts +2 -2
- package/dist/translations/ms.js +2 -2
- package/dist/translations/ms.umd.js +2 -2
- package/dist/translations/nb.d.ts +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nb.umd.js +2 -2
- package/dist/translations/ne.d.ts +2 -2
- package/dist/translations/ne.js +2 -2
- package/dist/translations/ne.umd.js +2 -2
- package/dist/translations/nl.d.ts +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nl.umd.js +2 -2
- package/dist/translations/no.d.ts +2 -2
- package/dist/translations/no.js +2 -2
- package/dist/translations/no.umd.js +2 -2
- package/dist/translations/oc.d.ts +2 -2
- package/dist/translations/oc.js +2 -2
- package/dist/translations/oc.umd.js +2 -2
- package/dist/translations/pl.d.ts +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pl.umd.js +2 -2
- package/dist/translations/pt-br.d.ts +2 -2
- package/dist/translations/pt-br.js +2 -2
- package/dist/translations/pt-br.umd.js +2 -2
- package/dist/translations/pt.d.ts +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/pt.umd.js +2 -2
- package/dist/translations/ro.d.ts +2 -2
- package/dist/translations/ro.js +2 -2
- package/dist/translations/ro.umd.js +2 -2
- package/dist/translations/ru.d.ts +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/ru.umd.js +2 -2
- package/dist/translations/si.d.ts +2 -2
- package/dist/translations/si.js +2 -2
- package/dist/translations/si.umd.js +2 -2
- package/dist/translations/sk.d.ts +2 -2
- package/dist/translations/sk.js +2 -2
- package/dist/translations/sk.umd.js +2 -2
- package/dist/translations/sl.d.ts +2 -2
- package/dist/translations/sl.js +2 -2
- package/dist/translations/sl.umd.js +2 -2
- package/dist/translations/sq.d.ts +2 -2
- package/dist/translations/sq.js +2 -2
- package/dist/translations/sq.umd.js +2 -2
- package/dist/translations/sr-latn.d.ts +2 -2
- package/dist/translations/sr-latn.js +2 -2
- package/dist/translations/sr-latn.umd.js +2 -2
- package/dist/translations/sr.d.ts +2 -2
- package/dist/translations/sr.js +2 -2
- package/dist/translations/sr.umd.js +2 -2
- package/dist/translations/sv.d.ts +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/sv.umd.js +2 -2
- package/dist/translations/th.d.ts +2 -2
- package/dist/translations/th.js +2 -2
- package/dist/translations/th.umd.js +2 -2
- package/dist/translations/ti.d.ts +2 -2
- package/dist/translations/ti.js +2 -2
- package/dist/translations/ti.umd.js +2 -2
- package/dist/translations/tk.d.ts +2 -2
- package/dist/translations/tk.js +2 -2
- package/dist/translations/tk.umd.js +2 -2
- package/dist/translations/tr.d.ts +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/tr.umd.js +2 -2
- package/dist/translations/tt.d.ts +2 -2
- package/dist/translations/tt.js +2 -2
- package/dist/translations/tt.umd.js +2 -2
- package/dist/translations/ug.d.ts +2 -2
- package/dist/translations/ug.js +2 -2
- package/dist/translations/ug.umd.js +2 -2
- package/dist/translations/uk.d.ts +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/uk.umd.js +2 -2
- package/dist/translations/ur.d.ts +2 -2
- package/dist/translations/ur.js +2 -2
- package/dist/translations/ur.umd.js +2 -2
- package/dist/translations/uz.d.ts +2 -2
- package/dist/translations/uz.js +2 -2
- package/dist/translations/uz.umd.js +2 -2
- package/dist/translations/vi.d.ts +2 -2
- package/dist/translations/vi.js +2 -2
- package/dist/translations/vi.umd.js +2 -2
- package/dist/translations/zh-cn.d.ts +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-cn.umd.js +2 -2
- package/dist/translations/zh.d.ts +2 -2
- package/dist/translations/zh.js +2 -2
- package/dist/translations/zh.umd.js +2 -2
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/ast.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/eo.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/eu.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/gu.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/hy.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/kk.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/kn.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/nb.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/oc.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/si.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/ti.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/tt.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +1 -1
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +30 -7
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/collaborationhistory.d.ts +1 -1
- package/src/collaborationhistory.js +1 -1
- package/src/collaborationoperation.d.ts +1 -1
- package/src/collaborationoperation.js +1 -1
- package/src/config.d.ts +3 -3
- package/src/config.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +2 -2
- package/src/legacyerrors.d.ts +1 -1
- package/src/legacyerrors.js +2 -2
- package/src/permissions.d.ts +1 -1
- package/src/permissions.js +2 -2
- package/src/suggestions/view/ariadescriptionview.d.ts +1 -1
- package/src/suggestions/view/ariadescriptionview.js +2 -2
- package/src/suggestions/view/latefocusbuttonview.d.ts +1 -1
- package/src/suggestions/view/latefocusbuttonview.js +2 -2
- package/src/suggestionstyles.d.ts +1 -1
- package/src/suggestionstyles.js +2 -2
- package/src/users/view/userview.d.ts +1 -1
- package/src/users/view/userview.js +2 -2
- package/src/users.d.ts +1 -1
- package/src/users.js +2 -2
- package/src/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +2 -2
- package/src/utils/confirmmixin.d.ts +1 -1
- package/src/utils/confirmmixin.js +2 -2
- package/src/utils/confirmview.d.ts +1 -1
- package/src/utils/confirmview.js +2 -2
- package/src/utils/getdatetimeformatter.d.ts +7 -3
- package/src/utils/getdatetimeformatter.js +2 -2
- package/src/utils/getmarkerdomelement.d.ts +1 -1
- package/src/utils/getmarkerdomelement.js +2 -2
- package/src/utils/hashobject.d.ts +1 -1
- package/src/utils/hashobject.js +2 -2
- package/src/utils/sanitizeEditorConfig.d.ts +1 -1
- package/src/utils/sanitizeEditorConfig.js +2 -2
- package/src/utils/setupthreadkeyboardnavigation.d.ts +1 -1
- package/src/utils/setupthreadkeyboardnavigation.js +2 -2
- package/src/utils/surroundingmarkersdetector.d.ts +1 -1
- package/src/utils/surroundingmarkersdetector.js +2 -2
- package/src/utils/trim-html.d.ts +1 -1
- package/src/utils/trim-html.js +2 -2
- package/theme/ariadescription.css +1 -1
- package/theme/icons/notification.svg +1 -1
- package/theme/integrations/codeblock.css +1 -1
- package/theme/integrations/horizontalline.css +1 -1
- package/theme/integrations/image.css +1 -1
- package/theme/integrations/mediaembed.css +1 -1
- package/theme/integrations/mergefields.css +1 -1
- package/theme/integrations/pagebreak.css +1 -1
- package/theme/integrations/table.css +1 -1
- package/theme/suggestion.css +1 -1
- package/theme/suggestionmarker.css +1 -1
- package/theme/usercolormixin.css +1 -1
- package/theme/usercolors.css +1 -1
- package/theme/users.css +1 -1
- package/dist/augmentation.d.ts +0 -43
- package/dist/collaborationhistory.d.ts +0 -25
- package/dist/collaborationoperation.d.ts +0 -32
- package/dist/config.d.ts +0 -106
- package/dist/index.d.ts +0 -26
- package/dist/legacyerrors.d.ts +0 -9
- package/dist/permissions.d.ts +0 -58
- package/dist/suggestions/view/ariadescriptionview.d.ts +0 -27
- package/dist/suggestions/view/latefocusbuttonview.d.ts +0 -41
- package/dist/suggestionstyles.d.ts +0 -18
- package/dist/users/view/userview.d.ts +0 -20
- package/dist/users.d.ts +0 -172
- package/dist/utils/common-translations.d.ts +0 -13
- package/dist/utils/confirmmixin.d.ts +0 -28
- package/dist/utils/confirmview.d.ts +0 -33
- package/dist/utils/getdatetimeformatter.d.ts +0 -33
- package/dist/utils/getmarkerdomelement.d.ts +0 -26
- package/dist/utils/hashobject.d.ts +0 -12
- package/dist/utils/sanitizeEditorConfig.d.ts +0 -19
- package/dist/utils/setupthreadkeyboardnavigation.d.ts +0 -49
- package/dist/utils/surroundingmarkersdetector.d.ts +0 -20
- package/dist/utils/trim-html.d.ts +0 -23
@@ -1,33 +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-licensing-options
|
8
|
-
*/
|
9
|
-
import type { LocaleConfig } from '../config.js';
|
10
|
-
/**
|
11
|
-
* Returns a function that formats the date to the set format.
|
12
|
-
*
|
13
|
-
* The default formatting can be changed by setting a custom formatting function to `config.locale.dateTimeFormat`.
|
14
|
-
*
|
15
|
-
* ```ts
|
16
|
-
* import format from 'date-fns/format';
|
17
|
-
*
|
18
|
-
* ClassicEditor
|
19
|
-
* .create( document.querySelector( '#editor' ), {
|
20
|
-
* toolbar: {
|
21
|
-
* items: [ 'bold', 'italic', '|', 'comment' ]
|
22
|
-
* },
|
23
|
-
* sidebar: {
|
24
|
-
* container: document.querySelector( '#sidebar' )
|
25
|
-
* },
|
26
|
-
* locale: {
|
27
|
-
* dateTimeFormat: date => format( date, 'dd/MM/yyyy' )
|
28
|
-
* }
|
29
|
-
* } )
|
30
|
-
* .catch( error => console.error( error ) );
|
31
|
-
* ```
|
32
|
-
*/
|
33
|
-
export default function getDateTimeFormatter(localeConfig?: LocaleConfig): (date: Date | string) => string;
|
@@ -1,26 +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-licensing-options
|
8
|
-
*/
|
9
|
-
import type { EditingController, Marker } from 'ckeditor5/src/engine.js';
|
10
|
-
/**
|
11
|
-
* Returns a first DOM element mapped with the marker.
|
12
|
-
*
|
13
|
-
* @param editing Editing controller instance.
|
14
|
-
* @param marker Marker instance.
|
15
|
-
*/
|
16
|
-
export default function getMarkerDomElement(editing: EditingController, marker: Marker): HTMLElement | null;
|
17
|
-
/**
|
18
|
-
* Returns all DOM elements mapped with all given markers. DOM elements are sorted by their client rects in top-most, left-most order.
|
19
|
-
* Returns `null` if `markers` is empty or there are no DOM elements bound with the markers.
|
20
|
-
*
|
21
|
-
* Note, that markers should not intersect.
|
22
|
-
*
|
23
|
-
* @param editing Editing controller instance.
|
24
|
-
* @param markers Markers instances.
|
25
|
-
*/
|
26
|
-
export declare function getAllMarkersDomElementsSorted(editing: EditingController, markers: Array<Marker>): Array<HTMLElement> | null;
|
@@ -1,12 +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-licensing-options
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* @module collaboration-core/utils/hashobject
|
11
|
-
*/
|
12
|
-
export default function hashObject(obj: Record<string, unknown>): string;
|
@@ -1,19 +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-licensing-options
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* @module collaboration-core/utils/sanitizeditorconfig
|
11
|
-
*/
|
12
|
-
import type { Editor, EditorConfig } from 'ckeditor5/src/core.js';
|
13
|
-
/**
|
14
|
-
* A function that prepares config for internal editors removing all unnecessary plugins like RTC.
|
15
|
-
*
|
16
|
-
* @param editor The instance of the source editor.
|
17
|
-
* @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
|
18
|
-
*/
|
19
|
-
export default function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
|
@@ -1,49 +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-licensing-options
|
8
|
-
*/
|
9
|
-
import { type FocusableView, type ViewCollection } from 'ckeditor5/src/ui.js';
|
10
|
-
import type { BaseCommentThreadView } from '@ckeditor/ckeditor5-comments';
|
11
|
-
import type { BaseSuggestionThreadView } from '@ckeditor/ckeditor5-track-changes';
|
12
|
-
/**
|
13
|
-
* A keystroke used to move focus from the editor content to a current annotation that has a marker
|
14
|
-
* under user's selection.
|
15
|
-
*/
|
16
|
-
export declare const FOCUS_ANNOTATION_KEYSTROKE: "Ctrl+Shift+E";
|
17
|
-
/**
|
18
|
-
* This helper initializes focus navigation within a thread using a keyboard.
|
19
|
-
*
|
20
|
-
* * It takes care of added and removed (dynamic) views in the thread.
|
21
|
-
* * It takes care of the Enter key support (entering a thread).
|
22
|
-
* * It takes care of the Esc key support (leaving a thread or whole sidebar).
|
23
|
-
* * It takes care of the arrow key events being fired for the sidebar to navigate between individual threads.
|
24
|
-
*
|
25
|
-
* @param threadView A thread view in which the keyboard navigation will be enabled.
|
26
|
-
* @param focusCycleableViews A collection of focusable views withing a thread.
|
27
|
-
*/
|
28
|
-
export default function setupThreadKeyboardNavigation(threadView: BaseCommentThreadView | BaseSuggestionThreadView, focusCycleableViews: ViewCollection<FocusableView>): void;
|
29
|
-
/**
|
30
|
-
* An event fired when the user presses the Esc key while the entire thread is focused.
|
31
|
-
*/
|
32
|
-
export type ThreadEscapeEvent = {
|
33
|
-
name: 'escape';
|
34
|
-
args: [];
|
35
|
-
};
|
36
|
-
/**
|
37
|
-
* An event fired when the user presses the arrow up key while the entire thread is focused.
|
38
|
-
*/
|
39
|
-
export type ThreadArrowUpEvent = {
|
40
|
-
name: 'arrowup';
|
41
|
-
args: [];
|
42
|
-
};
|
43
|
-
/**
|
44
|
-
* An event fired when the user presses the arrow down key while the entire thread is focused.
|
45
|
-
*/
|
46
|
-
export type ThreadArrowDownEvent = {
|
47
|
-
name: 'arrowdown';
|
48
|
-
args: [];
|
49
|
-
};
|
@@ -1,20 +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-licensing-options
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* @module collaboration-core/utils/surroundingmarkersdetector
|
11
|
-
*/
|
12
|
-
import type { Marker, Model } from 'ckeditor5/src/engine.js';
|
13
|
-
/**
|
14
|
-
* A utility that responds to range changes in the document selection and detects which markers' ranges
|
15
|
-
* touch or contain (surround) the document selection's focus.
|
16
|
-
*/
|
17
|
-
export default function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
|
18
|
-
left: Array<Marker>;
|
19
|
-
entered: Array<Marker>;
|
20
|
-
}) => void): void;
|
@@ -1,23 +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-licensing-options
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* @module collaboration-core/utils/trim-html
|
11
|
-
*/
|
12
|
-
/**
|
13
|
-
* Trims text inside a html tags and takes care of all closing tags.
|
14
|
-
*
|
15
|
-
* @param html
|
16
|
-
* @param options
|
17
|
-
* @param limit Limit of the characters.
|
18
|
-
* @param suffix
|
19
|
-
*/
|
20
|
-
export default function trimHtml(html: string, { limit, suffix }: {
|
21
|
-
limit: number;
|
22
|
-
suffix?: string;
|
23
|
-
}): string;
|