@ckeditor/ckeditor5-collaboration-core 48.2.0-alpha.7 → 48.3.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/dist/augmentation.d.ts +28 -28
- package/dist/collaborationhistory.d.ts +16 -16
- package/dist/collaborationoperation.d.ts +16 -16
- package/dist/config.d.ts +139 -139
- package/dist/documentcompare.d.ts +115 -115
- package/dist/index-editor.css +80 -0
- package/dist/index.css +80 -0
- package/dist/index.d.ts +27 -26
- package/dist/index.js +1 -1
- package/dist/legacyerrors.d.ts +0 -4
- package/dist/permissions.d.ts +49 -49
- package/dist/suggestions/integrations/alignment.d.ts +10 -10
- package/dist/suggestions/integrations/basicstyles.d.ts +10 -10
- package/dist/suggestions/integrations/bookmark.d.ts +10 -10
- package/dist/suggestions/integrations/font.d.ts +10 -10
- package/dist/suggestions/integrations/footnotes.d.ts +10 -10
- package/dist/suggestions/integrations/generalhtmlsupport.d.ts +20 -20
- package/dist/suggestions/integrations/highlight.d.ts +10 -10
- package/dist/suggestions/integrations/horizontalline.d.ts +10 -10
- package/dist/suggestions/integrations/htmlembed.d.ts +10 -10
- package/dist/suggestions/integrations/image.d.ts +10 -10
- package/dist/suggestions/integrations/indent.d.ts +10 -10
- package/dist/suggestions/integrations/lineheight.d.ts +10 -10
- package/dist/suggestions/integrations/link.d.ts +10 -10
- package/dist/suggestions/integrations/list.d.ts +10 -10
- package/dist/suggestions/integrations/listproperties.d.ts +10 -10
- package/dist/suggestions/integrations/mediaembed.d.ts +10 -10
- package/dist/suggestions/integrations/multilevellist.d.ts +10 -10
- package/dist/suggestions/integrations/shiftenter.d.ts +10 -10
- package/dist/suggestions/integrations/table.d.ts +10 -10
- package/dist/suggestions/integrations/tablecellproperties.d.ts +10 -10
- package/dist/suggestions/integrations/tablefooters.d.ts +10 -10
- package/dist/suggestions/integrations/tableheadings.d.ts +10 -10
- package/dist/suggestions/integrations/tablelayout.d.ts +10 -10
- package/dist/suggestions/integrations/tableproperties.d.ts +10 -10
- package/dist/suggestions/integrations/uploadcare.d.ts +10 -10
- package/dist/suggestions/suggestionsconversion.d.ts +79 -79
- package/dist/suggestions/view/ariadescriptionview.d.ts +18 -18
- package/dist/suggestions/view/latefocusbuttonview.d.ts +29 -29
- package/dist/suggestionstyles.d.ts +17 -16
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/pillview.d.ts +103 -0
- package/dist/users/view/userview.d.ts +12 -12
- package/dist/users.d.ts +173 -173
- package/dist/utils/common-translations.d.ts +6 -6
- package/dist/utils/confirmmixin.d.ts +27 -17
- package/dist/utils/confirmview.d.ts +20 -20
- package/dist/utils/getdatetimeformatter.d.ts +31 -31
- package/dist/utils/getmarkerdomelement.d.ts +17 -17
- package/dist/utils/hashobject.d.ts +5 -5
- package/dist/utils/sanitizeeditorconfig.d.ts +11 -11
- package/dist/utils/setupthreadkeyboardnavigation.d.ts +31 -31
- package/dist/utils/suggestionmarkerutils.d.ts +13 -13
- package/dist/utils/surroundingmarkersdetector.d.ts +11 -11
- package/dist/utils/trim-html.d.ts +14 -14
- package/package.json +12 -12
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { type FocusableView, type ViewCollection } from
|
|
6
|
-
import type { BaseCommentThreadView } from
|
|
7
|
-
import type { BaseSuggestionThreadView } from
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import { type FocusableView, type ViewCollection } from "@ckeditor/ckeditor5-ui";
|
|
6
|
+
import type { BaseCommentThreadView } from "@ckeditor/ckeditor5-comments";
|
|
7
|
+
import type { BaseSuggestionThreadView } from "@ckeditor/ckeditor5-track-changes";
|
|
8
8
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
* A keystroke used to move focus from the editor content to a current annotation that has a marker
|
|
10
|
+
* under user's selection.
|
|
11
|
+
*/
|
|
12
12
|
export declare const FOCUS_ANNOTATION_KEYSTROKE: "Ctrl+Shift+E";
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
* This helper initializes focus navigation within a thread using a keyboard.
|
|
15
|
+
*
|
|
16
|
+
* * It takes care of added and removed (dynamic) views in the thread.
|
|
17
|
+
* * It takes care of the Enter key support (entering a thread).
|
|
18
|
+
* * It takes care of the Esc key support (leaving a thread or whole sidebar).
|
|
19
|
+
* * It takes care of the arrow key events being fired for the sidebar to navigate between individual threads.
|
|
20
|
+
*
|
|
21
|
+
* @param threadView A thread view in which the keyboard navigation will be enabled.
|
|
22
|
+
* @param focusCycleableViews A collection of focusable views withing a thread.
|
|
23
|
+
*/
|
|
24
24
|
export declare function setupThreadKeyboardNavigation(threadView: BaseCommentThreadView | BaseSuggestionThreadView, focusCycleableViews: ViewCollection<FocusableView>): void;
|
|
25
25
|
/**
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
* An event fired when the user presses the Esc key while the entire thread is focused.
|
|
27
|
+
*/
|
|
28
28
|
export type ThreadEscapeEvent = {
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
name: "escape";
|
|
30
|
+
args: [];
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
* An event fired when the user presses the arrow up key while the entire thread is focused.
|
|
34
|
+
*/
|
|
35
35
|
export type ThreadArrowUpEvent = {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
name: "arrowup";
|
|
37
|
+
args: [];
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
* An event fired when the user presses the arrow down key while the entire thread is focused.
|
|
41
|
+
*/
|
|
42
42
|
export type ThreadArrowDownEvent = {
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
name: "arrowdown";
|
|
44
|
+
args: [];
|
|
45
45
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { type SuggestionType } from
|
|
9
|
-
import type { Model, ModelRange } from
|
|
6
|
+
* @module collaboration-core/utils/suggestionmarkerutils
|
|
7
|
+
*/
|
|
8
|
+
import { type SuggestionType } from "@ckeditor/ckeditor5-track-changes";
|
|
9
|
+
import type { Model, ModelRange } from "@ckeditor/ckeditor5-engine";
|
|
10
10
|
export declare function splitSuggestionMarkerName(name: string): {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
group: string;
|
|
12
|
+
type: SuggestionType;
|
|
13
|
+
subType: string | null;
|
|
14
|
+
id: string;
|
|
15
|
+
authorId: string;
|
|
16
|
+
markerCount: string | null;
|
|
17
17
|
};
|
|
18
18
|
export declare function fixElementSuggestionRange(range: ModelRange, model: Model): ModelRange;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { Marker, Model } from
|
|
6
|
+
* @module collaboration-core/utils/surroundingmarkersdetector
|
|
7
|
+
*/
|
|
8
|
+
import type { Marker, Model } from "@ckeditor/ckeditor5-engine";
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
* A utility that responds to range changes in the document selection and detects which markers' ranges
|
|
11
|
+
* touch or contain (surround) the document selection's focus.
|
|
12
|
+
*/
|
|
13
13
|
export declare function surroundingMarkersDetector(model: Model, onMarkersChange: (changedMarkers: {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
left: Array<Marker>;
|
|
15
|
+
entered: Array<Marker>;
|
|
16
16
|
}) => void): void;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
* @module collaboration-core/utils/trim-html
|
|
7
|
+
*/
|
|
8
8
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
* Trims text inside a html tags and takes care of all closing tags.
|
|
10
|
+
*
|
|
11
|
+
* @param html
|
|
12
|
+
* @param options Configuration options.
|
|
13
|
+
* @param options.limit Limit of the characters.
|
|
14
|
+
* @param options.suffix
|
|
15
|
+
*/
|
|
16
16
|
export declare function trimHtml(html: string, { limit, suffix }: {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
limit: number;
|
|
18
|
+
suffix?: string;
|
|
19
19
|
}): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-collaboration-core",
|
|
3
|
-
"version": "48.
|
|
3
|
+
"version": "48.3.0-alpha.0",
|
|
4
4
|
"description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ckeditor/ckeditor5-comments": "48.
|
|
41
|
-
"@ckeditor/ckeditor5-core": "48.
|
|
42
|
-
"@ckeditor/ckeditor5-engine": "48.
|
|
43
|
-
"@ckeditor/ckeditor5-html-support": "48.
|
|
44
|
-
"@ckeditor/ckeditor5-icons": "48.
|
|
45
|
-
"@ckeditor/ckeditor5-link": "48.
|
|
46
|
-
"@ckeditor/ckeditor5-list": "48.
|
|
47
|
-
"@ckeditor/ckeditor5-track-changes": "48.
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "48.
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "48.
|
|
50
|
-
"@ckeditor/ckeditor5-widget": "48.
|
|
40
|
+
"@ckeditor/ckeditor5-comments": "48.3.0-alpha.0",
|
|
41
|
+
"@ckeditor/ckeditor5-core": "48.3.0-alpha.0",
|
|
42
|
+
"@ckeditor/ckeditor5-engine": "48.3.0-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-html-support": "48.3.0-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-icons": "48.3.0-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-link": "48.3.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-list": "48.3.0-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-track-changes": "48.3.0-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "48.3.0-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "48.3.0-alpha.0",
|
|
50
|
+
"@ckeditor/ckeditor5-widget": "48.3.0-alpha.0",
|
|
51
51
|
"@types/luxon": "3.6.2",
|
|
52
52
|
"diff": "8.0.3",
|
|
53
53
|
"luxon": "3.6.1"
|