Make WordPress Core

Ticket #6130: mce-3.04.diff

File mce-3.04.diff, 2.0 KB (added by azaozz, 18 years ago)
  • wp-admin/css/ie.css

     
    1414}
    1515
    1616* html #wpbody {
    17         _width: expression(document.documentElement.clientWidth > 962 ? "980px" : "99.9%");
     17        _width: expression(document.documentElement.clientWidth > 982 ? "980px" : "99.9%");
    1818}
    1919
    2020* html #poststuff .postarea, * html #poststuff #titlediv {
  • wp-admin/js/editor.js

     
    1313switchEditors = {
    1414
    1515    saveCallback : function(el, content, body) {
     16   
    1617        document.getElementById(el).style.color = '#fff';
    17         return this.pre_wpautop(content);
     18        if ( tinyMCE.activeEditor.isHidden() )
     19            content = document.getElementById(el).value;
     20        else
     21            content = this.pre_wpautop(content);
     22
     23        return content;
    1824    },
    1925
    2026    pre_wpautop : function(content) {
  • wp-includes/script-loader.php

     
    3333                $visual_editor = apply_filters('visual_editor', array('tiny_mce'));
    3434                $this->add( 'editor', false, $visual_editor, '20080218' );
    3535
    36                 $this->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080221' );
     36                $this->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080307' );
    3737
    3838                // Modify this version when tinyMCE plugins are changed.
    39                 $mce_version = apply_filters('tiny_mce_version', '20080306');
     39                $mce_version = apply_filters('tiny_mce_version', '20080307');
    4040                $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('editor_functions'), $mce_version );
    4141
    4242                $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');