oasis-editor 0.0.307 → 0.0.309
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-DXN7f-Ev.js → OasisEditorApp-CINghPsi.js} +1 -1
- package/dist/core/commands/reviewMarkup.d.ts +7 -0
- package/dist/defaultToolbar-CSM7SoWl.js +1 -0
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/pt-BR.d.ts +1 -0
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/defaultToolbar-DV-_VUzb.js +0 -1
|
@@ -55,6 +55,13 @@ export declare function markupOptionsSnapshot(state: EditorState): MarkupOptions
|
|
|
55
55
|
export declare function applyShowMarkup(state: EditorState, payload: ShowMarkupPayload): EditorState;
|
|
56
56
|
/** Whether an author's markup paints; `undefined` means all authors. */
|
|
57
57
|
export declare function isMarkupAuthorShown(state: EditorState, author: string): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Whether one revision is shown by the current Show Markup filters. Used by
|
|
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
|
+
* (Word's menu only has insertion/deletion/comment categories).
|
|
63
|
+
*/
|
|
64
|
+
export declare function isRevisionMarkupShown(state: EditorState, type: string, author: string): boolean;
|
|
58
65
|
/** The explicit author allow-list, or null when all authors are shown. */
|
|
59
66
|
export declare function visibleMarkupAuthors(state: EditorState): string[] | null;
|
|
60
67
|
/** Flip one markup section; returns the same state when nothing changes. */
|