nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
17.21k stars 1.75k forks source link

Compatibility with React 18? #3274

Open iuwios opened 4 weeks ago

iuwios commented 4 weeks ago

This editor is amazing, but is there a version compatible with React 18?

npm error Found: react@18.3.1 npm error node_modules/react npm error react@"^18" from the root project npm error npm error Could not resolve dependency: npm error peer react@"^17.0.1" from @toast-ui/react-editor@3.2.3 npm error node_modules/@toast-ui/react-editor npm error @toast-ui/react-editor@"^3.2.3" from the root project npm error npm error Fix the upstream dependency conflict, or retry npm error this command with --force or --legacy-peer-deps

namuuCY commented 3 weeks ago

There is no version that supports React 18. I’ve been using this for about a month with the --force command. Every time I try to install another package, the same error or dependency issue occurs. If you are planning to use this editor in production, I would recommend considering another editor.