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 have searched for similar issues in both open and closed tickets and cannot find a duplicate.
I have read the documentation and cannot find an answer.
Describe the bug
Whenever I Initialize RichTextEditor of MDX Editor I have noticed that on Changing MDX Editor it logs irrelevant data in as console.log(readOnly:false);
Reproduction
Start from Adding MDXEditor RichtextEditor in your code on changing any values it gives readOnly:false in order to see that you need to reproduce that as following steps:
AhsanKhaan
changed the title
[BUG]
[BUG]- Ir relevant console.log on changing RichTextEditor
Jul 13, 2024
AhsanKhaan
changed the title
[BUG]- Ir relevant console.log on changing RichTextEditor
[BUG]- Irrelevant console.log on changing RichTextEditor
Jul 13, 2024
Describe the bug
Whenever I Initialize RichTextEditor of MDX Editor I have noticed that on Changing MDX Editor it logs irrelevant data in as console.log(readOnly:false);
Reproduction
Start from Adding MDXEditor RichtextEditor in your code on changing any values it gives readOnly:false in order to see that you need to reproduce that as following steps:
To Reproduce
Steps to reproduce the behavior:
Go to your application
Insert Code as follow:
<MDXEditor contentEditableClassName={contentClass} ref={mdxEditorRef} markdown={markdown} onChange={onChange} plugins={[ toolbarPlugin({ toolbarContents: () => ( <> {" "} <UndoRedo /> <BoldItalicUnderlineToggles /> <ListsToggle /> <BlockTypeSelect /> <CreateLink /> <EmojiPicker handleSelection={handleEmojiPickerChange} /> {imageUploadHandler && <InsertImage />} {/* <DiffSourceToggleWrapper /> */} </> ), }), listsPlugin(), quotePlugin(), headingsPlugin(), linkPlugin(), linkDialogPlugin(), imagePlugin({ imageUploadHandler }), diffSourcePlugin({ diffMarkdown: "An older version", viewMode: "rich-text", }), ]} />
On changing any input it gives error:
Expected behavior
console should be clear
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: