API Reference
@univerjs
@univerjs/sheets-ui
variables
Setrangeboldcommand

@univerjs/sheets-ui v0.4.2Docs


Variable: SetRangeBoldCommand

const SetRangeBoldCommand: ICommand;

It is used to set the bold style of selections or one cell, need to distinguish between selection state and edit state. If you are in the selective state, you need to set the style on the cell and the style on the rich text(p textRuns) at the same time, and if it is only in edit state, then you only need to set the style of the rich text(p textRuns)

Defined in

packages/sheets-ui/src/commands/commands/inline-format.command.ts:36 (opens in a new tab)


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