import Underline from "@canner/slate-icon-underline";
- type: Mark type name. Default:
UNDERLINE
import { UnderlinePlugin } from "@canner/slate-icon-underline";
// this will add render method for this mark, and also support hot key for underline.
const plugins = [UnderlinePlugin(options)];
CMD+u
- type: Mark type name. Default:
UNDERLINE
- tagName: Rendered tagName in this plugin. Default
<u/>