Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The TextFormatUpdateEvent() constructor returns a new TextFormatUpdateEvent object.
new TextFormatUpdateEvent(type)
new TextFormatUpdateEvent(type, options)typeA string representing the type of the event. Possible values: "textformatupdate".
options OptionalAn optional object with the following properties:
textFormatsAn Array of TextFormat objects representing the text formats that need to be applied with this event.
TextFormatUpdateEvent interface it belongs to.