You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just upgraded to React 19 and now if I add any Custom HTML tags it throws an error in the console
When I disabled the preview then it works fine
<MarkdownEditorenablePreview={false}/>
Thetag<statlistitem>isunrecognizedinthisbrowser.IfyoumeanttorenderaReactcomponent,startitsnamewithanuppercaseletter.ErrorComponentStackatstatlistitem(<anonymous>)
at Markdown (index.js:163:35)
at div (<anonymous>)
at eval (preview.js:34:7)
at eval (index.js:33:110)
at div (<anonymous>)
at div (<anonymous>)
at div (<anonymous>)
at MarkdownEditorInternal (index.js:71:7)
at LoadableComponent (dynamic-BkHm8yrd.js:133:9)
The text was updated successfully, but these errors were encountered:
@khanakia this is rather a workaround than proper solution, but try disabling preview enablePreview={false} or adding the mdx component to preview context:
<MarkdownEditorpreviewProps={{components: {statlistitem: ({ children })=>children,},}}
I just upgraded to React 19 and now if I add any Custom HTML tags it throws an error in the console
When I disabled the preview then it works fine
The text was updated successfully, but these errors were encountered: