1.5.0 • Published 7 years ago
@canner/slate-icon-strikethrough
Licence
MIT
Version
1.5.0
Deps
2
Size
208 kB
Vulns
0
Weekly
0
@canner/slate-icon-strikethrough
Icon
import Strikethrough from "@canner/slate-icon-strikethrough";
Props
- type: Mark type name. Default:
STRIKETHROUGH
Plugin
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)];
Hot key
Ctrl+Opt+d
Options
- type: Mark type name. Default:
STRIKETHROUGH - tagName: Rendered tagName in this plugin. Default
<s/>