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.
@@ -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
- * (Word's menu only has insertion/deletion/comment categories).
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 category and reviewer filters are applied through
77
- * `isRevisionMarkupShown`, so a hidden category or reviewer removes its bar.
78
- * Endnotes have no editable zone and are intentionally not walked.
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-revision authors plus
104
- * comment authors, sorted for a stable menu. Empty when nothing is marked.
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[];