Make WordPress Core

Changeset 6405


Ignore:
Timestamp:
12/18/2007 08:46:09 PM (16 years ago)
Author:
ryan
Message:

Fix tinymce valid elements configuration. Props linusmartensson. fixes #3826

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/tiny_mce_config.php

    r5700 r6405  
    2323
    2424    // Set up init variables
    25     $valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';
     25    $valid_elements = '*[*]';
    2626    $valid_elements = apply_filters('mce_valid_elements', $valid_elements);
     27   
     28    $invalid_elements = apply_filters('mce_invalid_elements', '');
    2729
    2830    $plugins = array('inlinepopups', 'autosave', 'spellchecker', 'paste', 'wordpress');
     
    8284    content_css : "<?php echo $mce_css; ?>",
    8385    valid_elements : "<?php echo $valid_elements; ?>",
     86    invalid_elements : "<?php echo $invalid_elements; ?>",
    8487    save_callback : 'TinyMCE_wordpressPlugin.saveCallback',
    8588    imp_version : "<?php echo intval($_GET['ver']); ?>",
Note: See TracChangeset for help on using the changeset viewer.