I would 开发者_Go百科like to had some jquery files and stylesheets to the head of the tinyMCE editor of wordpress. Any suggestions on how to do this?
Use an own plugin or the tinymce setup paramter
// Adds an observer to the onSaveContent event using tinyMCE.init
tinyMCE.init({
...
setup : function(ed) {
ed.onInit.add(function(ed){
ed.dom.loadCSS( 'url_to_your_css_file' );
});
}
});
精彩评论