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