import Strikethrough from '@canner/slate-icon-strikethrough';
- type: Mark type name. Default:
STRIKETHROUGH
import {StrikeThroughPlugin} from '@canner/slate-icon-strikethrough';
// this will add render method for this mark, and also support hot key for strikethrough.
const plugins = [
StrikeThroughPlugin(options)
]
Ctrl+Opt+d
- type: Mark type name. Default:
STRIKETHROUGH
- tagName: Rendered tagName in this plugin. Default
<s/>