EditorJS with React
-
+
Output
{JSON.stringify(data, null, 2)}
diff --git a/src/utils/tools.js b/src/utils/tools.js
index dd7653f..8b5580d 100644
--- a/src/utils/tools.js
+++ b/src/utils/tools.js
@@ -4,10 +4,7 @@ import List from "@editorjs/list";
import SimpleImage from "@editorjs/simple-image";
import Table from "@editorjs/table";
import Button from "editorjs-button";
-import Undo from "editorjs-undo";
-import DragDrop from "editorjs-drag-drop";
import Color from "editorjs-text-color-plugin";
-import { ItalicInlineTool, StrongInlineTool, UnderlineInlineTool } from "editorjs-inline-tool";
export const EDITOR_JS_TOOLS = {
paragraph: {
@@ -22,10 +19,5 @@ export const EDITOR_JS_TOOLS = {
image: SimpleImage,
table: Table,
button: Button,
- undo: Undo,
- dragDrop: DragDrop,
- italic: ItalicInlineTool,
- strong: StrongInlineTool,
- underline: UnderlineInlineTool,
color: Color,
-}
+};