为什么这不起作用?
<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 "