Use WP_Editor when editing or replying to comments, props ocean90, remove vendor specific selectors from editor-buttons.css, fixes #18348, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -311,7 +311,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
|
||||
<?php else : ?>
|
||||
<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
|
||||
<?php endif; ?>
|
||||
<div id="replyhead" style="display:none;"><?php _e('Reply to Comment'); ?></div>
|
||||
<div id="replyhead" style="display:none;"><h5><?php _e( 'Reply to Comment' ); ?></h5></div>
|
||||
|
||||
<div id="edithead" style="display:none;">
|
||||
<div class="inside">
|
||||
@@ -331,7 +331,12 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
|
||||
<div style="clear:both;"></div>
|
||||
</div>
|
||||
|
||||
<div id="replycontainer"><textarea rows="8" cols="40" name="replycontent" tabindex="104" id="replycontent"></textarea></div>
|
||||
<div id="replycontainer">
|
||||
<?php
|
||||
$quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' );
|
||||
wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
|
||||
?>
|
||||
</div>
|
||||
|
||||
<p id="replysubmit" class="submit">
|
||||
<a href="#comments-form" class="cancel button-secondary alignleft" tabindex="106"><?php _e('Cancel'); ?></a>
|
||||
|
||||
Reference in New Issue
Block a user