Enable rich editing for comment form.

git-svn-id: https://develop.svn.wordpress.org/trunk@3275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-12-07 00:30:39 +00:00
parent 77a91d9096
commit 10f9717448
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) : ?>