``` add_action('media_buttons','add_sc_select',11); function add_sc_select() { echo ' <select id="sc_select"> <option>短代码</option> <option value="[html][/html]">[html]</option> <option value="[css][/css]">[css[</option> <option value="[javascript][/javascript]">[javascript]</option> </select>'; } add_action('admin_head', 'button_js'); function button_js() { echo '<script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#sc_select").change(function() { send_to_editor(jQuery("#sc_select :selected").val()); return false; }); }); </script>'; } ```