setPluginData

setPluginData

Set plugin data on this text style by key.

await textStyle.setPluginData("key", "value")

Parameters

  • key: string – The plugin data key.

  • value: string | null – The value to set, or null to remove.

Returns

  • Promise<void>