【发布时间】:2016-09-02 06:30:52
【问题描述】:
为什么这不起作用?
<script src="//cdn.ckeditor.com/4.5.8/standard/ckeditor.js"></script>
<script>
CKEDITOR.plugins.addExternal('wordcount', '/assets/ckeditor/plugins/wordcount/', 'plugin.js');
CKEDITOR.replace('body', {
extraPlugins: 'wordcount',
customConfig: '/assets/js/ckeditor/config.js'
});
</script>
在我的网站上,我的 wordcount 插件托管在(猜一猜)
mydomain.com/assets/ckeditor/plugins/wordcount/plugin.js
我得到的错误:
GET http://cdn.ckeditor.com/404.shtml/ net::ERR_TOO_MANY_REDIRECTS 未捕获的错误:[CKEDITOR.resourceManager.load] 在“http://cdn.ckeditor.com/4.5.8/standard/plugins/notification/plugin.js?t=G2VC”中找不到资源名称“通知”
【问题讨论】:
标签: javascript ckeditor ckeditor-wordcount