Enable rich editing for comment form.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
181dd79885
commit
0d0c51e8fe
|
@ -46,7 +46,7 @@ addLoadEvent(focusit);
|
|||
$rows = 10;
|
||||
}
|
||||
?>
|
||||
<div><textarea title="true" rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content" style="width: 99%"><?php echo $comment->comment_content ?></textarea></div>
|
||||
<div><textarea <?php if ( $richedit ) echo 'title="true"'; ?> rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content" style="width: 99%"><?php echo $richedit ? wp_richedit_pre($comment->comment_content) : $comment->comment_content; ?></textarea></div>
|
||||
</fieldset>
|
||||
|
||||
<?php if ( !$richedit ) : ?>
|
||||
|
|
Loading…
Reference in New Issue