suneditor
suneditor copied to clipboard
suneditor is causing vite build to fail
The reason why vite build fails is that the minifier of suneditor is adding special characters that confuses vite:
This is suneditor/src/lib/core.js
After replacing the NBSP character with real space or putting space in front, the build works fine.
Worked fine under vite4 but upgrade to vite5 is causing the crash due to the invisible Unicode character
link PR by iveretelnyk https://github.com/JiHong88/suneditor/pull/1339
PR has been merged this can be closed