JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.77k stars 316 forks source link

Unable to edit KaTeX equations after insertion in SunEditor within Next.js #1411

Open tungls69 opened 5 months ago

tungls69 commented 5 months ago

Describe the bug I am using SunEditor within a Next.js with the KaTeX feature to insert mathematical equations. However, after inserting an equation, I am unable to edit or delete it. When I try to click on the equation to make changes, SunEditor does not respond.

Version Info

Expected behavior I expect to be able to easily edit or delete equations after inserting them.

Thank you!

banx9x commented 5 months ago

I have the same problem, do you have any ideas?

tungls69 commented 5 months ago

I have the same problem, do you have any ideas?

I suspect that a lower version might work, but I'm unsure which specific version would be compatible.

roker16 commented 4 months ago

I have the same problem, do you have any ideas?

I suspect that a lower version might work, but I'm unsure which specific version would be compatible. Following version shall work --

"suneditor": "^2.43.14", "suneditor-react": "^3.4.1",

tungls69 commented 3 months ago

"suneditor": "^2.43.14", "suneditor-react": "^3.4.1", it doesn't work in my project "react": "18.2.0",