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-highlight > createHighlightPlugin
createHighlightPlugin() function
Signature:export declare function createHighlightPlugin(
config?: HighlightConfig
): EditorPlugin<HighlightPluginState, HighlightPluginConfig>
Parameters
Parameter | Type | Description |
---|---|---|
config | HighlightConfig | Plugin configuration |
EditorPlugin<HighlightPluginState, HighlightPluginConfig>