Skip to main content

EditorUpdateOptions

type
type EditorUpdateOptions = { /** * A function to run once the update is complete. See also {@link $onUpdate}. */ onUpdate?: () => void; /** * Setting this to true will suppress all node * transforms for this update cycle. * Useful for synchronizing updates in some cases. */ skipTransforms?: true; /** * A tag to identify this update, in an update listener, for instance. * See also {@link $addUpdateTag}. */ tag?: UpdateTag | UpdateTag[]; /** * If true, prevents this update from being batched, forcing it to * run synchronously. */ discrete?: true; /** @internal */ event?: undefined | UIEvent | Event | null; }

Import

import { EditorUpdateOptions } from '@modular/sdk/editor';