- 授权协议: LGPL
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://www.maclovin.de/syntaxhl-editor/
- 软件文档: http://github.com/RichGuk/syntaxhl
软件介绍
这是一个 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_elements : "textarea[cols|rows|disabled|name|readonly|class]"
});
