=== Plugin Name ===
Contributors: panxianhai
Donate link: http://weibo.com/hevinpan
Tags: editor, syntax highlighting
Requires at least: 3.0
Tested up to: 4.1.1
Stable tag: 1.4.1

Kindeditor for wordpress

== Description ==

Because most users of this plug-in are Chinese people,following I use Chinese.

kindeditor是一个简单高效,易于使用的编辑器。

 

 

 

 

// //修改论坛默认编辑器
// function change_editor_settings($settings) {

// $settings['teeny'] = false;
// $settings['quicktags'] = true;
// $settings['quicktags'] = array('buttons' => 'strong,em,del,img,ul,ol,li,code');
// return $settings;
// }
// add_filter('asgarosforum_filter_editor_settings', 'change_editor_settings');
// //添加自定义编辑器按钮//
// function prettify_bottom($mce_settings)
// {

// if (!is_admin() && is_page('6344')) {//forum page id
// ?>
// <script type="text/javascript">

// QTags.addButton( 'ah2', 'H2标题', "<h2 >", "</h2>\n" );
// QTags.addButton( 'alink', '链接', '<a href="">', '</a>' );
// QTags.addButton( 'gtxt', '文本框', '<div class="alert alert-success" role="alert">\n可选择success,tip,error\n</div>', "" );
// QTags.addButton( 'kkpre', '代码高亮', '<pre class="pure-highlightjs line-numbers" ><code class="language-cpp">\n\n</code></pre>', "" );

// </script>

// <?php
// }
// }

 

// add_action('after_wp_tiny_mce', 'prettify_bottom');
// //彻底禁用可视化编辑器
// add_filter('user_can_richedit','__return_false');
// //全部结束

主题授权提示:请在后台主题设置-主题授权-激活主题的正版授权,授权购买:RiTheme官网

发表回复

后才能评论