
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@content-harmony/editorjs-strikethrough
Advanced tools
Strikethrough Tool for marking text-fragments for the Editor.js.
Forked from yrfandrew/editorjs-strikethrough in order to update icon set references to match 2.26.x EditorJS release.
Get the package
npm i --save-dev editorjs-strikethrough
Include module at your application
const Strikethrough = require('editorjs-strikethrough');
dist from repositorydist/bundle.js file to your page.Add a new Tool to the tools property of the Editor.js initial config.
var editor = EditorJS({
...
tools: {
...
strikethrough: {
class: Strikethrough,
shortcut: 'CMD+SHIFT+X',
},
},
...
});
This Tool has no config params
Marked text will be wrapped with a del tag with an cdx-strikethrough class.
{
"type" : "text",
"data" : {
"text" : "This is <del class='cdx-strikethrough'>test</del> text."
}
}
FAQs
Strikethrough Tool for Editor.js
The npm package @content-harmony/editorjs-strikethrough receives a total of 106 weekly downloads. As such, @content-harmony/editorjs-strikethrough popularity was classified as not popular.
We found that @content-harmony/editorjs-strikethrough demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.