oasis-editor 0.0.310 → 0.0.312
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/{OasisEditorApp-DkX3YBPU.js → OasisEditorApp-BPLSxH4R.js} +1 -1
- package/dist/core/commands/reviewMarkup.d.ts +12 -8
- package/dist/{defaultToolbar-DJ5fanM6.js → defaultToolbar--kHFg3Dr.js} +1 -1
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/canvas/CanvasRevisionGeometry.d.ts +5 -5
- package/dist/ui/components/RevisionMarkupOverlay.d.ts +3 -2
- package/dist/ui/editorUiTypes.d.ts +2 -2
- package/package.json +1 -1
|
@@ -58,8 +58,9 @@ export declare function isMarkupAuthorShown(state: EditorState, author: string):
|
|
|
58
58
|
/**
|
|
59
59
|
* Whether one revision is shown by the current Show Markup filters. Used by
|
|
60
60
|
* both the painted overlay and the Reviewing Pane list so the two surfaces
|
|
61
|
-
* never disagree. Non-insert/delete revision types are not category-filtered
|
|
62
|
-
*
|
|
61
|
+
* never disagree. Non-insert/delete revision types are not category-filtered:
|
|
62
|
+
* Oasis has not yet exposed Word's dedicated Formatting Show Markup checkbox,
|
|
63
|
+
* so the gallery currently has only insertion/deletion/comment categories.
|
|
63
64
|
*/
|
|
64
65
|
export declare function isRevisionMarkupShown(state: EditorState, type: string, author: string): boolean;
|
|
65
66
|
/**
|
|
@@ -72,10 +73,12 @@ export declare function isRevisionMarkupShown(state: EditorState, type: string,
|
|
|
72
73
|
export declare function reviewDisplayProjection(mode: ReviewDisplayMode | undefined): "final" | "original" | null;
|
|
73
74
|
/**
|
|
74
75
|
* Paragraph ids that should carry a Simple Markup change bar: every paragraph
|
|
75
|
-
* in the raw document with at least one visible insert/delete text revision
|
|
76
|
-
* Show Markup
|
|
77
|
-
* `isRevisionMarkupShown`, so a hidden
|
|
78
|
-
*
|
|
76
|
+
* in the raw document with at least one visible insert/delete text revision or
|
|
77
|
+
* run-level formatting (property) revision. Show Markup reviewer filters are
|
|
78
|
+
* applied through `isRevisionMarkupShown`, so a hidden reviewer removes its
|
|
79
|
+
* bar; category flags only apply to insert/delete because Oasis has not yet
|
|
80
|
+
* exposed Word's dedicated Formatting Show Markup checkbox. Endnotes have no
|
|
81
|
+
* editable zone and are not walked.
|
|
79
82
|
*/
|
|
80
83
|
export declare function collectChangeBarParagraphIds(state: EditorState): Set<string>;
|
|
81
84
|
/** The explicit author allow-list, or null when all authors are shown. */
|
|
@@ -100,7 +103,8 @@ export declare function setMarkupAuthors(state: EditorState, authors: string[] |
|
|
|
100
103
|
*/
|
|
101
104
|
export declare function toggleMarkupAuthor(state: EditorState, author: string, knownAuthors: readonly string[]): EditorState;
|
|
102
105
|
/**
|
|
103
|
-
* Every author with markup in the document: tracked
|
|
104
|
-
*
|
|
106
|
+
* Every author with markup in the document: tracked insert/delete and
|
|
107
|
+
* run-level formatting (property) revision authors plus comment authors,
|
|
108
|
+
* sorted for a stable menu. Empty when nothing is marked.
|
|
105
109
|
*/
|
|
106
110
|
export declare function collectMarkupAuthors(state: EditorState): string[];
|