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-spoiler > createSpoilerPlugin
createSpoilerPlugin() function
Signature:export declare function createSpoilerPlugin(
config: SpoilerConfig
): EditorPlugin<SpoilerPluginState, SpoilerPluginConfig>
Parameters
Parameter | Type | Description |
---|---|---|
config | SpoilerConfig | Plugin configuration |
EditorPlugin<SpoilerPluginState, SpoilerPluginConfig>