Ticket #3826: allow-div.diff

File allow-div.diff, 0.6 kB (added by andy, 1 year ago)
  • wp-includes/js/tinymce/tiny_mce_config.php

    old new  
    2222        } 
    2323 
    2424        // Set up init variables 
    25         $valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]'; 
     25        $valid_elements = '-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]'; 
    2626        $valid_elements = apply_filters('mce_valid_elements', $valid_elements); 
    2727 
    2828        $plugins = array('inlinepopups', 'autosave', 'spellchecker', 'paste', 'wordpress');