@docx-editor.dev/editor-api 2.27.0 → 2.28.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.
@@ -107,7 +107,7 @@ For orientation, use `PageSetup['orientation']` in the same way after loading an
107
107
 
108
108
  ## Give each sync a purpose
109
109
 
110
- A sync either supplies data for the next decision or commits a complete edit. Batch independent reads and writes. For progressive agent review, one completed suggestion per sync is intentional: peers see each suggestion as it is ready. For independent edits in different paragraphs, multiple edits can share one sync and one transaction. Edits that claim the same paragraph can conflict; reconsider their anchors between commits.
110
+ A sync either supplies data for the next decision or commits a complete edit. Batch independent reads and writes. For progressive agent review, one completed suggestion per sync is intentional: peers see each suggestion as it is ready. For independent edits in different paragraphs, multiple edits can share one sync and one transaction. Edits that claim the same paragraph can conflict; reconsider their anchors between commits. A range read before an earlier sync changed text before its end fails with `StaleDocument`, so search again in that paragraph before the next suggestion.
111
111
 
112
112
  Always await sync. Do not replace sequential syncs with `Promise.all()` or `forEach(async ...)`. Use an explicit final sync when writes remain queued. Do not add an empty sync after a completed read-only batch. These conventions follow Microsoft's [application-specific API model](https://learn.microsoft.com/en-us/office/dev/add-ins/develop/application-specific-api-model).
113
113
 
@@ -125,12 +125,55 @@ Use `isDocxEditorError(error)` and branch on `error.code`. `error.target` identi
125
125
  | --- | --- |
126
126
  | `PropertyNotLoaded` | Load the named property and await sync before reading it. |
127
127
  | `InvalidObjectPath` | Sync before using a newly returned proxy, or acquire a fresh proxy in a new run. |
128
- | `StaleDocument` | Re-read, re-anchor, and reconsider the model proposal. |
128
+ | `StaleDocument` | Search again, reconsider the model proposal, then write. |
129
129
  | `ConflictingChanges` | Separate edits that claim the same paragraph and reconsider anchors between commits. |
130
130
  | `NotSupported` | Check the host, tracking mode, author, and operation against the [tracking subset](#tracking-subset). |
131
131
  | `NotImplemented` | Check the documented subset, including pending-revision boundaries. Reconsider the target; do not disable tracking. |
132
132
  | `InvalidArgument` | Validate the argument and consult the member's JSDoc. |
133
133
 
134
+ ### Recover from a stale range
135
+
136
+ A range addresses text by paragraph identity and offsets. When text before its end changes, including through an earlier sync of the same run, using the range fails with `StaleDocument` and nothing is applied. When `error.expectedRevision` equals `error.actualRevision`, the range moved; when they differ, another writer changed the document. In both cases, search again and reconsider the proposal before writing. Never replay the failed write unchanged.
137
+
138
+ ```ts
139
+ import { isDocxEditorError } from '@docx-editor.dev/editor-api';
140
+
141
+ // `proposals` holds { find, replace } pairs from your model.
142
+ // `stillApplies` is your own check of a proposal against the current text.
143
+ await runtime.run(async (context) => {
144
+ context.document.changeTrackingMode = 'TrackMineOnly';
145
+ // Read every target in one sync.
146
+ const searches = proposals.map((proposal) => {
147
+ const matches = context.document.body.search(proposal.find, { matchCase: true });
148
+ matches.load('items');
149
+ return matches;
150
+ });
151
+ await context.sync();
152
+
153
+ for (const [index, proposal] of proposals.entries()) {
154
+ const range = searches[index]!.items[0];
155
+ if (!range) continue;
156
+ range.insertText(proposal.replace, 'Replace');
157
+ try {
158
+ // One reviewable suggestion per sync, so peers see each one as it lands.
159
+ await context.sync();
160
+ } catch (error) {
161
+ if (!isDocxEditorError(error) || error.code !== 'StaleDocument') throw error;
162
+ // Equal revisions: the range moved, often through an earlier sync of this run.
163
+ // Different revisions: another writer changed the document.
164
+ // Either way, search again and reconsider before you write.
165
+ const fresh = context.document.body.search(proposal.find, { matchCase: true });
166
+ fresh.load('items');
167
+ await context.sync();
168
+ const current = fresh.items[0];
169
+ if (!current || !stillApplies(proposal)) continue;
170
+ current.insertText(proposal.replace, 'Replace');
171
+ await context.sync();
172
+ }
173
+ }
174
+ });
175
+ ```
176
+
134
177
  ## Tracking subset
135
178
 
136
179
  | Intent | Office.js-compatible API |
@@ -139,6 +182,7 @@ Use `isDocxEditorError(error)` and branch on `error.code`. `error.target` identi
139
182
  | Insert before or after a range | `range.insertText(text, 'Before')` or `'After'` |
140
183
  | Replace a range | `range.insertText(text, 'Replace')` |
141
184
  | Delete range content | `range.delete()` or `range.clear()` |
185
+ | Propose removing a paragraph | `paragraph.delete()` |
142
186
  | Read the current mode | `document.load('changeTrackingMode')`, then sync and read the property |
143
187
  | Make an intentional permanent edit | Explicitly set `changeTrackingMode = 'Off'` |
144
188
 
@@ -146,14 +190,15 @@ Use `isDocxEditorError(error)` and branch on `error.code`. `error.target` identi
146
190
 
147
191
  | Tracked edit | Supported behavior |
148
192
  | --- | --- |
149
- | Range text | Insert, replace, or delete text; adjacent sibling paragraphs work outside collaboration |
193
+ | Range text | Insert, replace, or delete text; deletions can span adjacent sibling paragraphs, and replacements across paragraphs work outside collaboration |
194
+ | Paragraph deletion | `paragraph.delete()` records the text and the paragraph mark as deletions; accept removes the paragraph |
150
195
  | Font and paragraphs | Track font, paragraph-format, and paragraph-style edits as property revisions |
151
196
  | Paragraph insertion | Track inserted text and paragraph marks |
152
197
  | Lists | Track creation, membership, and level changes; configure newly proposed definitions |
153
198
  | Tables | Track complete insertion, cell values, row additions, and partial row deletions |
154
199
  | Content controls | Wrap nonempty ordinary text in `PlainText`, `RichText`, or `DatePicker` controls outside collaboration |
155
200
 
156
- Tracked range edits refuse table and wrapper boundaries. Collaborative tracked range edits must remain within one paragraph. Targets that touch foreign pending revisions refuse. Continuation can extend the runtime author's text and paragraph proposals. Simple fields with nested fields or other result containers refuse tracked deletion and replacement. Direct result runs remain supported.
201
+ Tracked range edits refuse table and wrapper boundaries. In collaboration, a tracked replacement must remain within one paragraph. A tracked paragraph deletion fails with `NotSupported` for the last paragraph of a story, table cell, or content control, a paragraph directly before a table or block content control, a paragraph whose mark ends a section, a paragraph with an inline content control, a paragraph that contains a complex field boundary whose matching boundary is in another paragraph, and a paragraph that nests inline content more than 64 levels deep. It fails with `NotImplemented` when the paragraph or the start of the next paragraph has a pending change, including your own. Delete adjacent paragraphs in one sync; a later sync beside your own pending deletion refuses. A tracked deletion or replacement at the start of a paragraph whose previous paragraph mark you already proposed deleting also fails with `NotImplemented`. One refusal refuses the whole sync. Text that another participant types into struck text joins the proposed deletion: reject restores it, and accept removes it with no separate revision. Targets that touch foreign pending revisions refuse. Continuation can extend the runtime author's text and paragraph proposals. Simple fields with nested fields or other result containers refuse tracked deletion and replacement. Direct result runs remain supported.
157
202
 
158
203
  An author can configure a complete proposed table while it has no foreign revisions. Existing table properties and columns require permanent edits. Tracked table and cell value replacement refuse in collaboration. Row deletion suggestions must leave a row without a pending deletion. Pending row or cell structure revisions refuse tracked row deletion with `NotImplemented`.
159
204
 
@@ -161,21 +206,39 @@ Accept keeps a proposed content control. Reject restores the original formatted
161
206
 
162
207
  Established list definitions and page setup refuse tracked writes. Comments and revision decisions remain available. Never silently fall back to `Off` when an edit cannot be tracked.
163
208
 
209
+ When a person adopts an agent's suggestions, attribute them to that person with `revisions.setAuthor(author, revisions)` or `revisions.setAuthor(author, { authors })`. This is a DocxEditor addition; Office.js has no author write. The changes stay pending. Never reject and reinsert suggestions to change their author.
210
+
164
211
  Standard `insertText('', 'Replace')` means deletion, and an empty insertion is a no-op. Agent tools should require nonempty insertion/replacement text and expose deletion as an explicit model decision. The shipped worker does this. The [compatibility manifest](https://github.com/eigenpal/docx-editor/blob/main/packages/editor-api/compat/manifest.json) records measured members and behavioral differences.
165
212
 
213
+ ## Set paragraph direction
214
+
215
+ Office.js has no paragraph direction member. Use the DocxEditor addition `Paragraph.readingOrder` to write right-to-left paragraphs, such as Arabic or Hebrew text. Queue the direction writes for several paragraphs in one sync, then read them back in the next sync:
216
+
217
+ ```ts
218
+ await runtime.run(async (context) => {
219
+ const paragraphs = context.document.body.paragraphs;
220
+ paragraphs.load({ select: 'items', top: 2 });
221
+ await context.sync();
222
+
223
+ const targets = paragraphs.items;
224
+ for (const paragraph of targets) paragraph.readingOrder = 'RightToLeft';
225
+ await context.sync();
226
+
227
+ for (const paragraph of targets) paragraph.load('readingOrder');
228
+ await context.sync();
229
+ return targets.map((paragraph) => paragraph.readingOrder);
230
+ });
231
+ ```
232
+
233
+ A read returns the direction that the paragraph reads in, after its style. Writes accept only `LeftToRight` and `RightToLeft`; other values fail with `InvalidArgument`. A write of the direction that the paragraph already has changes nothing, so you can write back what you read. The write keeps `alignment` as authored: in a right-to-left paragraph, `Left` names the leading edge at the right margin. With `TrackMineOnly`, the write records a paragraph property revision.
234
+
166
235
  ## Insert table rows
167
236
 
168
237
  `TableRow.insertRows('Before', count, values)` and `'After'` support ordinary source rows beside unrelated merged headers. Merged source rows and crossing vertical merges refuse. Keep each row insertion as the only write in its sync. Sync before editing returned rows. For more information, see [Tables and cells](https://docx-editor.dev/docs/2.x/editor-api/tables).
169
238
 
170
239
  ## Pictures and page fields
171
240
 
172
- Insert a manual line break with `range.insertBreak('Line', 'After')` or `\v` in inserted text.
173
- Call `await context.sync()` after queuing the write.
174
- Manual line breaks support `TrackMineOnly` and text edits in the same sync.
175
- Single-line content controls refuse manual line breaks.
176
- Reads report manual line breaks as `\v`, column breaks as U+000E, and paragraph separators as `\r`.
177
- Text writes refuse U+000E and paragraph separators.
178
- Do not flatten these characters before sending read text back to the document.
241
+ Insert a manual line break with `range.insertBreak('Line', 'After')` or `\v` in inserted text. Call `await context.sync()` after queuing the write. Manual line breaks support `TrackMineOnly` and text edits in the same sync. Single-line content controls refuse manual line breaks. Reads report manual line breaks as `\v`, column breaks as U+000E, and paragraph separators as `\r`. Text writes refuse U+000E and paragraph separators. Do not flatten these characters before sending read text back to the document.
179
242
 
180
243
  Insert PNG or JPEG images with `range.insertInlinePictureFromBase64(data, 'After')`. Sync before setting properties on the returned picture. Width and height use points. New pictures lock the aspect ratio. Set `lockAspectRatio = false` before setting independent dimensions. Set `altTextDescription` to describe the image. Deletion preserves shared media relationships.
181
244
 
package/README.md CHANGED
@@ -100,7 +100,7 @@ await runtime.run(async (context) => {
100
100
 
101
101
  Use `range.insertText(text, 'Before' | 'After')` for insertions, and `range.delete()` or `range.clear()` for deletions. `insertText()` returns the inserted range. Mode assignments and edits commit together at `sync()`; failed batches preserve the previous mode and document. Load `document.changeTrackingMode` before reading it. `Off` is the initial mode.
102
102
 
103
- This is a supported Office.js subset. `TrackMineOnly` applies to this server host and persists across its `run()` calls. It does not change peers' tracking settings or save a document-wide tracking policy. `TrackAll` fails with `NotSupported`. Browser tracked writes require the Pro review module; the runtime setting does not change the editor UI mode. Tracked text edits support one paragraph, including table-cell text. The runtime rejects targets touching pending revisions, including text inside a row with a pending insertion or deletion. The runtime also rejects structural and formatting changes while tracking. Comments and revision decisions remain available. Set `Off` explicitly when permanent edits are intended.
103
+ This is a supported Office.js subset. `TrackMineOnly` applies to this server host and persists across its `run()` calls. It does not change peers' tracking settings or save a document-wide tracking policy. `TrackAll` fails with `NotSupported`. Browser tracked writes require the Pro review module; the runtime setting does not change the editor UI mode. Tracked text edits support one paragraph, including table-cell text, and adjacent sibling paragraphs outside collaboration. Tracked `Paragraph.delete()` and `Range.delete()` over whole paragraphs record deleted text and deleted paragraph marks, also in collaboration. Font, paragraph-format, paragraph-style, and `readingOrder` changes record property revisions, and paragraph insertion records inserted text and paragraph marks. The runtime rejects targets touching pending revisions, including text inside a row with a pending insertion or deletion. Other structural changes refuse while tracking. For the complete list, see [Revisions](https://docx-editor.dev/docs/2.x/editor-api/revisions). Comments and revision decisions remain available. Set `Off` explicitly when permanent edits are intended.
104
104
 
105
105
  See the [server-agent review example](../../examples/server-agent-review/README.md) for Hocuspocus, stale-read handling, and the review lifecycle.
106
106
 
@@ -1,4 +1,3 @@
1
-
2
1
  /**
3
2
  * The same document automation, for a page that already has an editor open.
4
3
  *
@@ -21,11 +20,11 @@
21
20
  * @packageDocumentation
22
21
  * @public
23
22
  */
24
- import { ad as RevisionTextView, H as DocxEditorRuntime, C as CreateServerOptions, D as DocxEditorServerRuntime, a as CreateCollaborativeOptions } from './server-CK7TF4z-.mjs';
25
- export { A as Alignment, B as BesideLocation, b as Body, c as BodyInsertParagraphLocation, d as BodyInsertTextLocation, e as Bookmark, f as BookmarkCollection, g as BreakType, h as ChangeTrackingMode, i as ClientObject, j as ClientResult, k as Comment, l as CommentCollection, m as CommentReply, n as CommentReplyCollection, o as ContentControl, p as ContentControlCollection, q as ContentControlLockState, r as ContentControlSubtype, s as ContentControlType, t as ContentControlValue, u as Document, v as DocumentCapabilities, w as DocumentLimits, x as DocumentProperties, y as DocumentXmlLimits, z as DocumentZipLimits, E as DocxEditorError, F as DocxEditorErrorCode, G as DocxEditorErrorInit, I as EditorModule, J as Field, K as FieldCollection, L as FieldType, M as FieldTypeLiteral, N as Font, O as HeaderFooterType, P as InlinePicture, Q as InlinePictureCollection, R as InsertLocation, S as List, T as ListBullet, U as ListCollection, V as ListItem, W as ListNumbering, X as LoadOption, Y as LoadQueryOptions, Z as NoteItem, _ as NoteItemCollection, $ as NoteItemType, a0 as PageOrientation, a1 as PageSetup, a2 as Paragraph, a3 as ParagraphAlignment, a4 as ParagraphCollection, a5 as ParagraphInsertTextLocation, a6 as Range, a7 as RangeCollection, a8 as RangeInsertTextLocation, a9 as RemoveDocInfoType, aa as RequestContext, ab as Revision, ac as RevisionCollection, ae as RevisionType, af as RunCallback, ag as SearchOptions, ah as Section, ai as SectionCollection, aj as SelectionMode, ak as ServerPaginationOptions, al as Shape, am as ShapeCollection, an as ShapeType, ao as Table, ap as TableCell, aq as TableCellCollection, ar as TableCollection, as as TableRow, at as TableRowCollection, au as TrackedObjects, av as UnderlineType, aw as VerticalAlignment, ax as isDocxEditorError } from './server-CK7TF4z-.mjs';
23
+ import { ag as RevisionTextView, H as DocxEditorRuntime, C as CreateServerOptions, D as DocxEditorServerRuntime, a as CreateCollaborativeOptions } from './server-By7dFq5s.mjs';
24
+ export { A as Alignment, B as BesideLocation, b as Body, c as BodyInsertParagraphLocation, d as BodyInsertTextLocation, e as Bookmark, f as BookmarkCollection, g as BreakType, h as ChangeTrackingMode, i as ClientObject, j as ClientResult, k as Comment, l as CommentCollection, m as CommentReply, n as CommentReplyCollection, o as ContentControl, p as ContentControlCollection, q as ContentControlLockState, r as ContentControlSubtype, s as ContentControlType, t as ContentControlValue, u as Document, v as DocumentCapabilities, w as DocumentLimits, x as DocumentProperties, y as DocumentXmlLimits, z as DocumentZipLimits, E as DocxEditorError, F as DocxEditorErrorCode, G as DocxEditorErrorInit, I as EditorModule, J as Field, K as FieldCollection, L as FieldType, M as FieldTypeLiteral, N as Font, O as HeaderFooterType, P as InlinePicture, Q as InlinePictureCollection, R as InsertLocation, S as List, T as ListBullet, U as ListCollection, V as ListItem, W as ListNumbering, X as LoadOption, Y as LoadQueryOptions, Z as NoteItem, _ as NoteItemCollection, $ as NoteItemType, a0 as PageOrientation, a1 as PageSetup, a2 as Paragraph, a3 as ParagraphAlignment, a4 as ParagraphCollection, a5 as ParagraphInsertTextLocation, a6 as ParagraphReadingOrder, a7 as Range, a8 as RangeCollection, a9 as RangeInsertTextLocation, aa as RemoveDocInfoType, ab as RequestContext, ac as Revision, ad as RevisionAuthorOptions, ae as RevisionAuthorSelection, af as RevisionCollection, ah as RevisionType, ai as RunCallback, aj as SearchOptions, ak as Section, al as SectionCollection, am as SelectionMode, an as ServerPaginationOptions, ao as Shape, ap as ShapeCollection, aq as ShapeType, ar as Table, as as TableCell, at as TableCellCollection, au as TableCollection, av as TableRow, aw as TableRowCollection, ax as TrackedObjects, ay as UnderlineType, az as VerticalAlignment, aA as isDocxEditorError } from './server-By7dFq5s.mjs';
26
25
  import { EditorCollaborationSession } from '@docx-editor.dev/core/collaboration';
27
26
  import { DocxEditorInstance } from '@docx-editor.dev/core/editor';
28
- export { RevisionBatchEntry, RevisionBatchResult, RevisionBatchSkipReason } from '@docx-editor.dev/core/automation';
27
+ export { RevisionAuthorEntry, RevisionAuthorResult, RevisionAuthorSkipReason, RevisionBatchEntry, RevisionBatchResult, RevisionBatchSkipReason } from '@docx-editor.dev/core/automation';
29
28
 
30
29
  /**
31
30
  * How `DocxEditor.createBrowser` borrows a live editor.
package/dist/browser.d.ts CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  /**
3
2
  * The same document automation, for a page that already has an editor open.
4
3
  *
@@ -21,11 +20,11 @@
21
20
  * @packageDocumentation
22
21
  * @public
23
22
  */
24
- import { ad as RevisionTextView, H as DocxEditorRuntime, C as CreateServerOptions, D as DocxEditorServerRuntime, a as CreateCollaborativeOptions } from './server-CK7TF4z-.js';
25
- export { A as Alignment, B as BesideLocation, b as Body, c as BodyInsertParagraphLocation, d as BodyInsertTextLocation, e as Bookmark, f as BookmarkCollection, g as BreakType, h as ChangeTrackingMode, i as ClientObject, j as ClientResult, k as Comment, l as CommentCollection, m as CommentReply, n as CommentReplyCollection, o as ContentControl, p as ContentControlCollection, q as ContentControlLockState, r as ContentControlSubtype, s as ContentControlType, t as ContentControlValue, u as Document, v as DocumentCapabilities, w as DocumentLimits, x as DocumentProperties, y as DocumentXmlLimits, z as DocumentZipLimits, E as DocxEditorError, F as DocxEditorErrorCode, G as DocxEditorErrorInit, I as EditorModule, J as Field, K as FieldCollection, L as FieldType, M as FieldTypeLiteral, N as Font, O as HeaderFooterType, P as InlinePicture, Q as InlinePictureCollection, R as InsertLocation, S as List, T as ListBullet, U as ListCollection, V as ListItem, W as ListNumbering, X as LoadOption, Y as LoadQueryOptions, Z as NoteItem, _ as NoteItemCollection, $ as NoteItemType, a0 as PageOrientation, a1 as PageSetup, a2 as Paragraph, a3 as ParagraphAlignment, a4 as ParagraphCollection, a5 as ParagraphInsertTextLocation, a6 as Range, a7 as RangeCollection, a8 as RangeInsertTextLocation, a9 as RemoveDocInfoType, aa as RequestContext, ab as Revision, ac as RevisionCollection, ae as RevisionType, af as RunCallback, ag as SearchOptions, ah as Section, ai as SectionCollection, aj as SelectionMode, ak as ServerPaginationOptions, al as Shape, am as ShapeCollection, an as ShapeType, ao as Table, ap as TableCell, aq as TableCellCollection, ar as TableCollection, as as TableRow, at as TableRowCollection, au as TrackedObjects, av as UnderlineType, aw as VerticalAlignment, ax as isDocxEditorError } from './server-CK7TF4z-.js';
23
+ import { ag as RevisionTextView, H as DocxEditorRuntime, C as CreateServerOptions, D as DocxEditorServerRuntime, a as CreateCollaborativeOptions } from './server-By7dFq5s.js';
24
+ export { A as Alignment, B as BesideLocation, b as Body, c as BodyInsertParagraphLocation, d as BodyInsertTextLocation, e as Bookmark, f as BookmarkCollection, g as BreakType, h as ChangeTrackingMode, i as ClientObject, j as ClientResult, k as Comment, l as CommentCollection, m as CommentReply, n as CommentReplyCollection, o as ContentControl, p as ContentControlCollection, q as ContentControlLockState, r as ContentControlSubtype, s as ContentControlType, t as ContentControlValue, u as Document, v as DocumentCapabilities, w as DocumentLimits, x as DocumentProperties, y as DocumentXmlLimits, z as DocumentZipLimits, E as DocxEditorError, F as DocxEditorErrorCode, G as DocxEditorErrorInit, I as EditorModule, J as Field, K as FieldCollection, L as FieldType, M as FieldTypeLiteral, N as Font, O as HeaderFooterType, P as InlinePicture, Q as InlinePictureCollection, R as InsertLocation, S as List, T as ListBullet, U as ListCollection, V as ListItem, W as ListNumbering, X as LoadOption, Y as LoadQueryOptions, Z as NoteItem, _ as NoteItemCollection, $ as NoteItemType, a0 as PageOrientation, a1 as PageSetup, a2 as Paragraph, a3 as ParagraphAlignment, a4 as ParagraphCollection, a5 as ParagraphInsertTextLocation, a6 as ParagraphReadingOrder, a7 as Range, a8 as RangeCollection, a9 as RangeInsertTextLocation, aa as RemoveDocInfoType, ab as RequestContext, ac as Revision, ad as RevisionAuthorOptions, ae as RevisionAuthorSelection, af as RevisionCollection, ah as RevisionType, ai as RunCallback, aj as SearchOptions, ak as Section, al as SectionCollection, am as SelectionMode, an as ServerPaginationOptions, ao as Shape, ap as ShapeCollection, aq as ShapeType, ar as Table, as as TableCell, at as TableCellCollection, au as TableCollection, av as TableRow, aw as TableRowCollection, ax as TrackedObjects, ay as UnderlineType, az as VerticalAlignment, aA as isDocxEditorError } from './server-By7dFq5s.js';
26
25
  import { EditorCollaborationSession } from '@docx-editor.dev/core/collaboration';
27
26
  import { DocxEditorInstance } from '@docx-editor.dev/core/editor';
28
- export { RevisionBatchEntry, RevisionBatchResult, RevisionBatchSkipReason } from '@docx-editor.dev/core/automation';
27
+ export { RevisionAuthorEntry, RevisionAuthorResult, RevisionAuthorSkipReason, RevisionBatchEntry, RevisionBatchResult, RevisionBatchSkipReason } from '@docx-editor.dev/core/automation';
29
28
 
30
29
  /**
31
30
  * How `DocxEditor.createBrowser` borrows a live editor.