getPluginData

getPluginData

Get plugin data for this text style by key.

getPluginData(key: string): Promise<string | null

Parameters

  • key: string – The plugin data key.

Returns

  • Promise<string | null> – The stored value, or null if no data exists for the key.