Make WordPress Core


Ignore:
Timestamp:
08/03/2011 10:19:00 AM (15 years ago)
Author:
azaozz
Message:

Editor API enhancement, first run (still needs some work), see #17144

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r17966 r18498  
    121121
    122122<div id="postdiv" class="postarea">
    123 <?php the_editor($comment->comment_content, 'content', 'newcomment_author_url', false, 4, false); ?>
    124 <?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
     123<?php
     124        $quicktags_settings = array( 'quicktags_buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' );
     125        wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
     126        wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
    125127</div>
    126128
Note: See TracChangeset for help on using the changeset viewer.