我无法确定如何将WP quicktag按钮添加回编辑器中,我已按如下方式自定义了编辑器:
function gimko_format_tiny_mce($in) {
$in[\'remove_linebreaks\']=false;
$in[\'convert_newlines_to_brs\']=false;
$in[\'keep_styles\']=true;
$in[\'tabfocus_elements\']=\'major-publishing-actions\';
$in[\'paste_remove_styles\']=false;
$in[\'paste_remove_spans\']=false;
$in[\'paste_strip_class_attributes\']=\'none\';
$in[\'paste_text_use_dialog\']=true;
$in[\'plugins\']=\'inlinepopups,tabfocus,paste,media,fullscreen,wordpress,wpeditimage,wpgallery,wplink,wpdialogs,wpfullscreen\';
$in[\'apply_source_formatting\']=false;
$in[\'theme_advanced_buttons1\']=\'formatselect,forecolor,|,bold,italic,underline,|,bullist,numlist,blockquote,|,justifyleft,justifycenter,justifyright,justifyfull,|,link,unlink,|,wp_fullscreen,wp_adv\';
$in[\'theme_advanced_buttons2\']=\'pastetext,pasteword,removeformat,|,charmap,|,outdent,indent,|,undo,redo\';
$in[\'theme_advanced_buttons3\']=\'\';
$in[\'theme_advanced_buttons4\']=\'\';
$in[\'valid_children\'] = \'+div[p]\';
return $in;
}
我需要添加什么才能使其恢复显示?