我用的 CodeColorer 的版本是 0.9.8,开启方式如下:
在 codecolorer.php 文件中找到以下代码,将其启用即可。
// TinyMCE
// temporarily disabled
if (get_user_option('rich_editing') == 'true') {
add_filter('mce_external_plugins', array('CodeColorerLoader', 'AddTinyMCEPlugin'));
add_filter('mce_buttons', array('CodeColorerLoader', 'RegisterTinyMCEButton'));
}