@canner/slate-icon-strikethrough

1.5.0 • Public • Published

@canner/slate-icon-strikethrough

npm version

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/>

Readme

Keywords

none

Package Sidebar

Install

npm i @canner/slate-icon-strikethrough

Weekly Downloads

46

Version

1.5.0

License

MIT

Unpacked Size

213 kB

Total Files

21

Last publish

Collaborators

  • wwwy3y3
  • cannerbot