Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
How to set up Editor Js in React-Native?

I have used Editor-JS in ReactJS and simple JS too. In react I have used react-editor-js package in ReactJS and trying to use the same in React-Native but it is giving a reference error:

Error: Requiring module "node_modules\react-editor-js\dist\react-editor-js.umd.js", which threw an exception: ReferenceError: Can't find variable: Element

I am new to Native and not able to resolve this error.

Code:

import EditorJs from 'react-editor-js';

Initializing Editor

<EditorJs tools={EDITOR_JS_TOOLS} />

Editor Tools

import Paragraph from '@editorjs/paragraph''


export const EDITOR_JS_TOOLS = {
  paragraph: Paragraph,

}

I have tried to use the official EditorJS package too but it needs

<div id="editorjs"></div>

and id is not supported in React-Native. I can't use any other editor because whole of my app should be consistent with the Web app where EditorJS is being used.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!