For anyone experiencing similar issue where Editor JS content is rendered empty, disabling strict mode works. Remove React.StrictMode enclosure tags from App.jsx or App.tsx file.

//From this

root.render(
  <React.StrictMode>
    <BrowserRouter basename='admin'>
      <App />
    </BrowserRouter>
  </React.StrictMode>
);

//Change to this

root.render(
    <BrowserRouter basename='admin'>
      <App />
    </BrowserRouter>
);
Answer from Nish on Stack Overflow
๐ŸŒ
npm
npmjs.com โ€บ package โ€บ react-editor-js
react-editor-js - npm
July 2, 2022 - The unofficial editor-js component for React. Latest version: 2.1.0, last published: 3 years ago. Start using react-editor-js in your project by running `npm i react-editor-js`. There are 40 other projects in the npm registry using react-editor-js.
      ยป npm install react-editor-js
    
Published ย  Jul 02, 2022
Version ย  2.1.0
๐ŸŒ
GitHub
github.com โ€บ natterstefan โ€บ react-editor-js
GitHub - natterstefan/react-editor-js: โš›๏ธ๐Ÿ“ The unofficial react component for editorjs (https://editorjs.io/). Install: npm i @natterstefan/react-editor-js --save
โš›๏ธ๐Ÿ“ The unofficial react component for editorjs (https://editorjs.io/). Install: npm i @natterstefan/react-editor-js --save - natterstefan/react-editor-js
Starred by 27 users
Forked by 3 users
Languages ย  TypeScript 81.3% | JavaScript 18.7%
Discussions

reactjs - React-editor-js not showing up in a functional component - Stack Overflow
Your root cause of the problem here is the regulations in react 18. the react wrapper around editorjs github.com/Jungwoo-An/react-editor-js that you used is not working very well in react 18. see the issues in github: github.com/Jungwoo-An/react-editor-js/issues/228. More on stackoverflow.com
๐ŸŒ stackoverflow.com
Editor.js
try out novel, its from vercel and it works and looks good out of the box imo https://novel.sh/ More on reddit.com
๐ŸŒ r/nextjs
15
27
April 2, 2024
Which rich text editor is compatible with react 19?
Slate editorjs.io is good choice to get started. Lexical and Tiptap - Dev Toolkit Editor Suite for more advance customized More on reddit.com
๐ŸŒ r/reactjs
14
7
June 2, 2025
Which Rich Text Editor to use ?
TipTap is pretty good and can be customised to suit your requirements. More on reddit.com
๐ŸŒ r/reactjs
77
54
July 6, 2023
๐ŸŒ
CodeSandbox
codesandbox.io โ€บ examples โ€บ package โ€บ react-editor-js
react-editor-js examples - CodeSandbox
Use this online react-editor-js playground to view and fork react-editor-js example apps and templates on CodeSandbox.
๐ŸŒ
Editor.js
editorjs.io
Editor.js
Free block-style editor with a universal JSON output
๐ŸŒ
Medium
medium.com โ€บ how-to-react โ€บ how-to-add-wysiwyg-editor-in-react-js-using-editor-js-cff90e2f3b75
How to add WYSIWYG editor in React JS using Editor JS | by Manish Mandal | How To React | Medium
July 29, 2023 - How to add WYSIWYG editor in React JS using Editor JS Today in this tutorial we will learn how to integrate the WYSIWYG editor in our React application using Editor JS. Editor.js is a modern and โ€ฆ
๐ŸŒ
DEV Community
dev.to โ€บ sumankalia โ€บ how-to-integrate-editorjs-in-reactjs-2l6l
How to integrate EditorJs in ReactJs - DEV Community
February 23, 2023 - Then we will create a component as EditorComponent.js in our code repository. In this component, we will return a โ€œdivโ€ with โ€œid=editorjsโ€.
๐ŸŒ
StackBlitz
stackblitz.com โ€บ edit โ€บ react-editorjs-editor
React Editorjs Editor - StackBlitz
Starter project for React apps that exports to the create-react-app CLI.
Find elsewhere
๐ŸŒ
NextLeap
nextleap.app โ€บ online-compiler โ€บ reactjs-programming
React.js Online Editor
Experience the power of React with NextLeap's Online Compiler. Write, compile, and debug React applications online in real-time. Boost your productivity and enhance your React development workflow with our intuitive platform.
Top answer
1 of 2
4

For anyone experiencing similar issue where Editor JS content is rendered empty, disabling strict mode works. Remove React.StrictMode enclosure tags from App.jsx or App.tsx file.

//From this

root.render(
  <React.StrictMode>
    <BrowserRouter basename='admin'>
      <App />
    </BrowserRouter>
  </React.StrictMode>
);

//Change to this

root.render(
    <BrowserRouter basename='admin'>
      <App />
    </BrowserRouter>
);
2 of 2
0

Your code should work, something outside of it or the way you are rendering the component is probably the issue.

Here's a working example using a functional component:

CreateNewPost.js

import { useState } from "react";
import { createReactEditorJS } from "react-editor-js";
import { EDITOR_JS_TOOLS } from "./constants";

const ReactEditorJS = createReactEditorJS();

const CreateNewPost = () => {
  const [editorValue, setEditorValue] = useState({
    time: new Date().getTime(),
    blocks: [
      {
        type: "header",
        data: {
          text: "Testing title",
          level: 2
        }
      },
      {
        type: "paragraph",
        data: {
          text:
            "We have been working on this project more than three years. Several large media projects help us to test and debug the Editor, to make it's core more stable. At the same time we significantly improved the API. Now, it can be used to create any plugin for any task. Hope you enjoy. "
        }
      }
    ],
    version: "2.1.0"
  });

  return <ReactEditorJS tools={EDITOR_JS_TOOLS} data={editorValue} />;
};

export default CreateNewPost;

index.js

import React from "react";
import { createRoot } from "react-dom/client";
import CreateNewPost from "./CreateNewPost";

const container = document.getElementById("app");
const root = createRoot(container);
root.render(<CreateNewPost />);

๐ŸŒ
Playcode
playcode.io โ€บ react
React Playground - Online React Editor & Compiler Free
2 weeks ago - React online editor with full project support. Create multiple components, organize files in folders, and build complete React applications. Share your React playground with a simple link or deploy instantly. ... A React playground lets you experiment with components without setting up create-react-app or Vite locally. PlayCode's React sandbox supports JSX, TypeScript, CSS modules, and Tailwind out of the box.
๐ŸŒ
OneCompiler
onecompiler.com โ€บ react
ReactJS Online Editor & Compiler
OneCompiler's ReactJS online editor helps you to write, compile, run and view ReactJS code online. It have all the features like auto-completion, syntax highlighting, etc.
๐ŸŒ
Draftjs
draftjs.org
Draft.js
Rich Text Editor Framework for React ยท Get Started ยท We provide the building blocks to enable the creation of a broad variety of rich text composition experiences, from basic text styles to embedded media. Draft.js fits seamlessly into React applications, abstracting away the details of rendering, selection, and input behavior with a familiar declarative API.
๐ŸŒ
CodeSandbox
codesandbox.io โ€บ s โ€บ react-new
React - CodeSandbox
December 6, 2024 - React example starter project
Published ย  Apr 01, 2017
Author ย  CompuIves
๐ŸŒ
Reddit
reddit.com โ€บ r/nextjs โ€บ editor.js
r/nextjs on Reddit: Editor.js
April 2, 2024 -

Hello everyone, could someone please help me? I need to create a Notion-style editor, and the best option seems to be using the Editor.js library. However, I'm finding it quite challenging to add styles that look good, especially with Tailwind CSS.

๐ŸŒ
BairesDev
bairesdev.com โ€บ home โ€บ blog โ€บ software development
Best 6 React IDEs & Editors 2025
October 6, 2025 - Reactide includes a powerful code editor, a visual debugger, a powerful command-line interface, and a wide range of other features. It also provides a wide range of plugins and extensions to help developers customize their development environment. Reactide is a great choice for developers who want to quickly and easily create React applications. Syntax highlighting: Reactide provides syntax highlighting for both HTML and JavaScript, as well as support for JSX...
๐ŸŒ
React Flow
reactflow.dev
Node-Based UIs in React - React Flow
We are xyflow, a small team of passionate developers based in Berlin. We are the maintainers of React Flow, Svelte Flow, and the communities around them. ... A customizable Svelte component for building node-based editors and interactive diagramsVisit Website
๐ŸŒ
DhiWise
dhiwise.com โ€บ post โ€บ essential-features-of-react-editor-js-you-should-know-about
The Impact of React Editor JS in Web Development
October 30, 2023 - React Editor JS is a powerful block-style editor for React to create rich text editors easily. Learn how to use this editor in your React application.
๐ŸŒ
GitHub
github.com โ€บ stfy โ€บ react-editor.js
GitHub - stfy/react-editor.js: React wrapper component for Editor.js
import React, { Component } from 'react' import Editor from '@stfy/react-editor.js' const App => ( <> <Editor autofocus holder="editorjs-container" excludeDefaultTools={['header']} onChange={() => console.log('Something is changing!!')} onData={(data) => console.log(data)} customTools={{ header: CustomHeader }} onReady={() => console.log('Start!')} data={{ "time" : 1554920381017, "blocks" : [ { "type" : "header", "data" : { "text" : "Hello Editor.js", "level" : 2 } }, ], "version" : "2.12.4" }} /> </> )
Starred by 131 users
Forked by 21 users
Languages ย  TypeScript 96.1% | JavaScript 3.9%
๐ŸŒ
Contentful
contentful.com โ€บ blog โ€บ react-rich-text-editor
Which is the best React rich text editor? Five options compared | Contentful
July 7, 2025 - Slate is a highly customizable React rich text editor. Editor.js is a block-based editor that focuses on structured content.
๐ŸŒ
Editor.js
editorjs.io โ€บ getting-started
Getting started
April 11, 2021 - Copy editor.js file to your project and load it.