Editorjs inline tool: Text underline
- yarn add editorjs-text-underline
- npm i editorjs-text-underline
Add a new Tool to the tools property of the Editor.js initial config.
const TextUnderline = require("editorjs-text-underline")
var editor = EditorJS({
...
tools: {
...
underline: TextUnderline,
}
...
});