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

when using react18 ,there is a bug in ‘resetsize’ #177

Closed
qirong77 opened this issue Apr 18, 2022 · 1 comment
Closed

when using react18 ,there is a bug in ‘resetsize’ #177

qirong77 opened this issue Apr 18, 2022 · 1 comment

Comments

@qirong77
Copy link

qirong77 commented Apr 18, 2022

when i using react18 and using this as a component
const Editorx = ({ file }) => {
<MarkdownEditor value={file.content} onChange={(editor, data, value) => setContent(value)}>
}
than it give me a error
Uncaught TypeError: Cannot read properties of undefined (reading 'setSize')
it really spend me a lot of time to save this problem.and when i useing react under 18 .it works!

@jaywcjlove
Copy link
Member

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

2 participants