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

226
Views
reaccionar borrador wysiwyg cómo crear con contenido?

así que mi contenido es así:

 [{…}] 0: blocks: Array(1) 0: depth: 0 entityRanges: [] inlineStyleRanges: [] key: "6ep3i" text: "Hello" type: "unstyled" [[Prototype]]: Object length: 1 [[Prototype]]: Array(0) [[Prototype]]: Object length: 1 [[Prototype]]: Array(0)

y mi código es así:

 useEffect(() => { setEditorState(EditorState.createWithContent(convertFromRaw(content))); }, []);

por lo tanto, el editor no se llena de contenido, pero da un error Invariant Violation: invalid RawDraftContentState y quiero que se llene de contenido cuando se procesa por primera vez, también estoy usando convertFromRaw, convertToRaw del borrador js

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!