Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
editorjs-toggle-block
Advanced tools
Toggle block tool for Editor.js
$ npm i --save-dev editorjs-toggle-block
Include module at your application
import ToggleBlock from 'editorjs-toggle-block';
Add a new tool to the tools
property of the Editor.js initial config.
const editor = EditorJS({
tools: {
toggle: {
class: ToggleBlock,
inlineToolbar: true,
},
},
});
>
character followed by Space
to create a new toggle.Shift
+ Tab
to extract a nested block.Tab
to insert an existing block into a toggle.$ npm run build:dev
$ npm run build
dist/bundle.js
$ npm run test
We welcome everyone to contribute. Make sure you have read the CODE_OF_CONDUCT before.
For information on how to contribute, please refer to our CONTRIBUTING guide.
Features and bug fixes are listed in the CHANGELOG file.
This library is licensed under an MIT license. See LICENSE for details.
Made with 💙 by kommitters Open Source
0.2.4 (25.07.2022)
FAQs
Toggle block tool for Editor.js
The npm package editorjs-toggle-block receives a total of 1,427 weekly downloads. As such, editorjs-toggle-block popularity was classified as popular.
We found that editorjs-toggle-block demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.