0
    const blocks = convertToRaw(editorState.getCurrentContent()).blocks;

I have noticed that my content is not coming in the blocks in mobile. I want to know the reason.

    const blocks = convertToRaw(editorState.getCurrentContent()).blocks;

I have tried that in onChange function. But not bale to get the content but it working fine on web.

0 Answers0