Make WordPress Core


Ignore:
Timestamp:
09/28/2011 09:07:08 PM (13 years ago)
Author:
azaozz
Message:

Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r18782 r18803  
    312312<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
    313313<?php endif; ?>
    314     <div id="replyhead" style="display:none;"><?php _e('Reply to Comment'); ?></div>
     314    <div id="replyhead" style="display:none;"><h5><?php _e( 'Reply to Comment' ); ?></h5></div>
    315315
    316316    <div id="edithead" style="display:none;">
     
    332332    </div>
    333333
    334     <div id="replycontainer"><textarea rows="8" cols="40" name="replycontent" tabindex="104" id="replycontent"></textarea></div>
     334    <div id="replycontainer">
     335    <?php
     336    $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' );
     337    wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
     338    ?>
     339    </div>
    335340
    336341    <p id="replysubmit" class="submit">
Note: See TracChangeset for help on using the changeset viewer.