React Mui Draft Wysiwyg
Edit page
Introduction
Configuration
Data conversion
Examples
Basic with empty contentBasic with contentSave contentImportsPlaygroundRead only editorDisplay the content in your page

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