@tracoco/slate-icon-bold
v1.5.0
Published
A slate icon for bold
Downloads
2
Readme
@tracoco/slate-icon-bold
Icon
import Bold from "@tracoco/slate-icon-bold";
Props
- type: Mark type name. Default:
BOLD
Plugin
import { BoldPlugin } from "@tracoco/slate-icon-bold";
// this will add render method for this mark, and also support hot key for bold.
const plugins = [BoldPlugin(options)];
Hot key
CMD+b
Options
- type: Mark type name. Default:
BOLD
- tagName: Rendered tagName in this plugin. Default
<strong/>