Const
For highlighting text with pre-configured colors.
Colors can be changed on the fly using setHighlightOptions.
The Commands feature includes a HighlightIcon component designed to work with this extension. It's included in the CommandBar menu by default.
See also createToggleHighlightCommand in commandBarMenuItems.ts for creating a custom number of commands with custom prefixes if needed.
createToggleHighlightCommand
For highlighting text with pre-configured colors.
Colors can be changed on the fly using setHighlightOptions.
The Commands feature includes a HighlightIcon component designed to work with this extension. It's included in the CommandBar menu by default.
See also
createToggleHighlightCommandin commandBarMenuItems.ts for creating a custom number of commands with custom prefixes if needed.