@lexical/react/LexicalHistoryAnnouncePlugin
Interfaces
HistoryAnnouncePluginProps
Defined in: packages/lexical-react/src/LexicalHistoryAnnouncePlugin.ts:19
Properties
messages?
optionalmessages?:object
Defined in: packages/lexical-react/src/LexicalHistoryAnnouncePlugin.ts:24
Messages announced after the corresponding history command runs. Hosts supply localized strings; defaults are English.
redone?
optionalredone?:string
undone?
optionalundone?:string
Functions
HistoryAnnouncePlugin()
HistoryAnnouncePlugin(
__namedParameters?):null
Defined in: packages/lexical-react/src/LexicalHistoryAnnouncePlugin.ts:40
Announces undo / redo into a polite aria-live region so screen readers
pick up history navigation. The announcement fires at
COMMAND_PRIORITY_LOW so the history extension's own handler runs first
and is unaffected; the handler returns false to keep the command chain
intact.
Parameters
__namedParameters?
HistoryAnnouncePluginProps = {}
Returns
null