empire cms ueditor Solution to Baidu editor path loading error
ueditor Path error analysis
If your empire CMS Used ueditor Baidu Editor can bookmark this article. If the website environment is used CDN Or other cache services, then ueditor The initialization style file path of Baidu Editor will be loaded incorrectly.
All style files have been parsed incorrectly. After checking, I found that it is ueditor.config.js Inside UEDITOR_HOME_URL The parameters are incorrect, it should be BUG。
Solution
Once the reason is found, the solution will be simple. We just need to UEDITOR_HOME_URL path BUG Just fix it, and share with you the method used by my webmaster website.
Loading ueditor Before, we redefine a new path for him to cover it ueditor.config.js Error path inside.
Copy the following code and modify your ueditor path.
<script type= "text/javascript" > window.UEDITOR_HOME_URL = "/你的路径/ueditor/" ; </script> |
Put ueditor Load the above file code to fix it.
<script type= "text/javascript" charset= "utf-8" src= "/ueditor/ueditor.config.js" ></script> <script type= "text/javascript" charset= "utf-8" src= "/ueditor/ueditor.all.min.js" > </script> <script type= "text/javascript" charset= "utf-8" src= "/ueditor/lang/zh-cn/zh-cn.js" ></script> |
above ueditor Baidu editor path loading error solution is suitable for all use ueditor Baidu Editor loading error fix method.

The above is the "Empire" shared by Suyou Network with everyone cms ueditor Baidu Editor Path Loading Error Solution", thank you very much for your patience to read this article, we will provide you with more information on reference, use or learning and communication. We can also provide you with: Enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionFor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation". If you need cooperation, please scan the code to consult, and we will serve you sincerely.
TAG Label: