API Reference
@univerjs
@univerjs/core
interfaces
Iinsertaction

@univerjs/core v0.1.17Docs


Interface: IInsertAction

Insert mutation is used to insert text (maybe with rich text properties) at the given position.

Properties

PropertyTypeDefined in
bodyIDocumentBodysubmodules/univer/packages/core/src/docs/data-model/text-x/action-types.ts:43 (opens in a new tab)
lennumbersubmodules/univer/packages/core/src/docs/data-model/text-x/action-types.ts:44 (opens in a new tab)
linenumbersubmodules/univer/packages/core/src/docs/data-model/text-x/action-types.ts:45 (opens in a new tab)
segmentId?stringsubmodules/univer/packages/core/src/docs/data-model/text-x/action-types.ts:46 (opens in a new tab)
tINSERTsubmodules/univer/packages/core/src/docs/data-model/text-x/action-types.ts:42 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.