Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: MUI: Unsupported var(--mui-palette-common-white) color. #284

Open
Hammad1029 opened this issue Oct 29, 2024 · 0 comments
Open

Error: MUI: Unsupported var(--mui-palette-common-white) color. #284

Hammad1029 opened this issue Oct 29, 2024 · 0 comments

Comments

@Hammad1029
Copy link

Hammad1029 commented Oct 29, 2024

I just followed the example in the getting started section of the documentation. This is my code:

const rteRef = useRef<RichTextEditorRef>(null);

 <RichTextEditor
              ref={rteRef}
              extensions={[]}
              content="<p>Hello world</p>"
              renderControls={() => (
                <MenuControlsContainer>
                  <MenuSelectHeading />
                  <MenuDivider />
                  <MenuButtonBold />
                  <MenuButtonItalic />
                </MenuControlsContainer>
              )}
            />

But I keep getting this error:

Unhandled Runtime Error
Error: MUI: Unsupported `var(--mui-palette-common-white)` color.
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().

Any clues as to why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant