@canner/slate-icon-strikethrough
A slate icon for strikethrough
Last updated 2 years ago by chilijung .
MIT · Original npm · Tarball · package.json
$ cnpm install @canner/slate-icon-strikethrough 
SYNC missed versions from official npm registry.

@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

<kbd>Ctrl</kbd>+<kbd>Opt</kbd>+<kbd>d</kbd>

Options

  • type: Mark type name. Default: STRIKETHROUGH
  • tagName: Rendered tagName in this plugin. Default <s/>

Current Tags

  • 1.5.0                                ...           latest (2 years ago)

19 Versions

  • 1.5.0                                ...           2 years ago
  • 1.4.4                                ...           2 years ago
  • 1.4.3                                ...           2 years ago
  • 1.4.3-alpha.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.9                                ...           2 years ago
  • 1.2.8                                ...           3 years ago
  • 1.2.7                                ...           3 years ago
  • 1.2.6                                ...           3 years ago
  • 1.2.5                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.1                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |