• customer service QQ:    WeChat: Contact number: 18613993467     

empire cms ueditor Solution to Baidu editor path loading error

Suyou Network (10 years of experience), serves tens of thousands of companies, and has fixed transparent quotations. Domain name registration, hosting /One-stop service for server and website source code. A physical company, a professional team, worth choosing! Website building business: corporate website construction, company official website production, foreign trade website construction, website imitation, website copying, imitation site, foreign trade website construction, single-page customer service WeChat【 suyoufuwu】


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.

ueditor Solution to Baidu editor path loading error

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:

National branch station

National branch station