Forums

looking for the "text editor" core file (1 post)

  1. M1chel
    Member
    Posted 4 months ago #

    Hi,

    I want to change the aspect of the text-editor oin the admin template. I want to move the "add pictures" button down and change the icon.

    However I can't find the file to modify.
    Using firebug the source seemed to be post-new.php but nothing there. it included though edit-form-advanced.php in which I found on lines 266-289

    <?php if ( post_type_supports($post_type, 'editor') ) { ?>
    <div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
    
    <?php the_editor($post->post_content); ?>
    
    <table id="post-status-info" cellspacing="0"><tbody><tr>
    	<td id="wp-word-count"><?php printf( __( 'Word count: %s' ), '<span class="word-count">0</span>' ); ?></td>
    	<td class="autosave-info">
    	<span class="autosave-message">&nbsp;</span>
    <?php
    	if ( 'auto-draft' != $post->post_status ) {
    		echo '<span id="last-edit">';
    		if ( $last_id = get_post_meta($post_ID, '_edit_last', true) ) {
    			$last_user = get_userdata($last_id);
    			printf(__('Last edited by %1$s on %2$s at %3$s'), esc_html( $last_user->display_name ), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
    		} else {
    			printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified));
    		}
    		echo '</span>';
    	} ?>
    	</td>
    </tr></tbody></table>
    
    </div>

    but I can't find the file which actually contains the editors html and styles.

    can someone help me? :)

Reply

You must log in to post.

About this Topic