Make WordPress Core


Ignore:
Timestamp:
09/29/2009 09:46:13 AM (15 years ago)
Author:
azaozz
Message:

Press This: editor fixes and CSS tweaks for IE6/7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r11974 r11982  
    12171217 *
    12181218 * @param bool $teeny optional Output a trimmed down version used in Press This.
    1219  */
    1220 function wp_tiny_mce( $teeny = false ) {
     1219 * @param mixed $settings optional An array that can add to or overwrite the default TinyMCE settings.
     1220 */
     1221function wp_tiny_mce( $teeny = false, $settings = false ) {
    12211222    global $concatenate_scripts, $compress_scripts, $tinymce_version;
    12221223
     
    12371238
    12381239    if ( $teeny ) {
    1239         $plugins = apply_filters( 'teeny_mce_plugins', array('safari', 'inlinepopups', 'media', 'autosave', 'fullscreen') );
     1240        $plugins = apply_filters( 'teeny_mce_plugins', array('safari', 'inlinepopups', 'media', 'fullscreen', 'wordpress') );
    12401241        $ext_plugins = '';
    12411242    } else {
     
    13831384        $initArray['content_css'] = "$mce_css";
    13841385
     1386    if ( is_array($settings) )
     1387        $initArray = array_merge($initArray, $settings);
     1388
    13851389    // For people who really REALLY know what they're doing with TinyMCE
    13861390    // You can modify initArray to add, remove, change elements of the config before tinyMCE.init
Note: See TracChangeset for help on using the changeset viewer.