Let me ask you a question.
I am using Ckeditor as a CDN and would like to implement the http://ckeditor.com/addon/youtube plug-in.
It's not going well.
to config.js
CKEDITOR.plugins.addExternal('youtube', '/myplugins/youtube/', 'plugin.js');
config.toolbar+=[{name:'insert', items:['Image', 'Youtube']}];
However, the icon was not displayed and there were no errors on the console, so I was at a loss.
I would appreciate it if you could let me know.
javascript
Please check two things.
Do you specify config.js
to add plugins?
CKEDITOR.editorConfig=function(config){
config.extraPlugins='youtube';
};
Is your config.js
really loaded? Is your console.log
output?
© 2024 OneMinuteCode. All rights reserved.