mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Fix tinymce valid elements configuration. Props linusmartensson. fixes #3826
git-svn-id: http://svn.automattic.com/wordpress/trunk@6405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b7f907b875
commit
f97604713a
@ -22,8 +22,10 @@
|
||||
}
|
||||
|
||||
// Set up init variables
|
||||
$valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';
|
||||
$valid_elements = '*[*]';
|
||||
$valid_elements = apply_filters('mce_valid_elements', $valid_elements);
|
||||
|
||||
$invalid_elements = apply_filters('mce_invalid_elements', '');
|
||||
|
||||
$plugins = array('inlinepopups', 'autosave', 'spellchecker', 'paste', 'wordpress');
|
||||
$plugins = apply_filters('mce_plugins', $plugins);
|
||||
@ -81,6 +83,7 @@ initArray = {
|
||||
button_tile_map : true,
|
||||
content_css : "<?php echo $mce_css; ?>",
|
||||
valid_elements : "<?php echo $valid_elements; ?>",
|
||||
invalid_elements : "<?php echo $invalid_elements; ?>",
|
||||
save_callback : 'TinyMCE_wordpressPlugin.saveCallback',
|
||||
imp_version : "<?php echo intval($_GET['ver']); ?>",
|
||||
<?php do_action('mce_options'); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user