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:
ryan 2005-12-07 00:30:39 +00:00
parent 181dd79885
commit 0d0c51e8fe

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