Closed aliamiri1380 closed 1 year ago
@aliamiri1380 Thanks for pasting your full code. As the error message hints, the issue is just that you haven't imported the component that you're using. Instead of:
import {
MenuButtonBold,
MenuButtonItalic,
MenuControlsContainer,
MenuDivider,
MenuSelectHeading,
RichTextEditorProvider,
RichTextField,
} from "mui-tiptap";
it looks like you need:
import { RichTextReadOnly } from "mui-tiptap";
I'll go ahead and close this out, but if there is some different issue, please let me know.
this is not working on: --- @mui/material@5.11.15 --- react@18.2.0 --- @tiptap/core@2.1.10
code sample:
editor.jsx
error: