TinyMCE Syntaxhighlighter Plugin for WordPress

Syntax Highlighter and Code Colorizer for WordPress
这是一个 TinyMCE 的语法高亮编辑器插件,使用 SyntaxHighlighter 语法着色引擎。



使用方法:

1. 将插件保存到 TinyMCE 的 plugins 目录
2. 配置

tinyMCE.init({
theme : "advanced",
plugins : "syntaxhl",
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,styleselect,removeformat,cleanup,code, syntaxhl",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
remove_linebreaks : false,
extended_valid...

相关文章:

1、WordPress中mo和po文件编辑与转换
https://www.onexin.net/wordpress-mo-and-po-file-editing-and-conversion/

2、Wordpress自带Widget在模板中调用最新评论
https://www.onexin.net/wordpress-widget-comes-with-the-latest-comments-in-the-template-call/

3、CKEditor 3.4.1 WYSIWYG(所见即所得) 编辑器
https://www.onexin.net/ckeditor-3-4-1-wysiwyg-wysiwyg-editor/

4、Gravatar头像打开速度很慢,解决办法
https://www.onexin.net/gravatar-picture-is-slow-to-open-the-solution/

5、Wordpress整合Ucenter最简单的实现方法
https://www.onexin.net/wordpress-integration-of-the-most-simple-implementation-ucenter/

转载请注明出处:https://www.onexin.net/tinymce-syntaxhighlighter-plugin-for-wordpress/

Leave a Reply

Your email address will not be published. Required fields are marked *