Changeset 6405

Show
Ignore:
Timestamp:
12/18/07 20:46:09 (1 year ago)
Author:
ryan
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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']); ?>",