This example shows how to save the editor content for example to a server.
Imports
import MUIEditor, { MUIEditorState } from "react-mui-draft-wysiwyg";import { convertToRaw } from 'draft-js';
More info for convertToRaw
:
https://draftjs.org/docs/api-reference-data-conversion/#converttoraw
Playground
Normal
default
default