The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/plugin-text > createTextPlugin
createTextPlugin() function
Signature:export declare function createTextPlugin(
config: TextConfig
): EditorPlugin<TextPluginState, TextPluginConfig>
Parameters
Parameter | Type | Description |
---|---|---|
config | TextConfig | Plugin configuration |
EditorPlugin<TextPluginState, TextPluginConfig>
The text plugin