DocumentCompareComputeChangesOptions
interface
Describes how the document changes are computed.
Properties
module:ai/toolkit/documentcompare~DocumentCompareComputeChangesOptions#aiSourceWhich AI feature produced the processed data, stamped on the operations applying a computed change.
See
aiSource.isAtomic?: ( element: ModelElement, schema: ModelSchema ) => ( boolean | undefined )module:ai/toolkit/documentcompare~DocumentCompareComputeChangesOptions#isAtomicWhether all changes inside the given
elementshould be treated as a one change. Called for every element if defined, before any other rules are applied. Returntrueorfalseto make a decision, orundefinedto fall back to default rules.Use this to register custom elements or to override default rules.
Atomic elements are for example tables (excluding layout tables) and elements without paragraph-like elements (e.g. an image with a caption).