Make WordPress Core


Ignore:
Timestamp:
03/05/2014 07:00:18 AM (11 years ago)
Author:
azaozz
Message:

Update mce-view.js and the wpview TinyMCE plugin, and use them to show gallery previews in the Visual editor, props gcorne, see #26959

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r27391 r27408  
    243243                        'wplink',
    244244                        'wpdialogs',
     245                        'wpview',
    245246                    ) ) );
    246247
     
    502503            add_thickbox();
    503504            wp_enqueue_script('media-upload');
     505
     506            if ( self::$has_tinymce )
     507                wp_enqueue_script('mce-view');
    504508        }
    505509    }
Note: See TracChangeset for help on using the changeset viewer.