This commit is contained in:
root@pico committed 2015-05-01 21:20:47 +02:00
1 parent 70d2335bba
commit 7428b67da5
1086 files changed
+94145 -59082

No files matched your search

+3 -1
View File
@@ -76,6 +76,7 @@ window.switchEditors = {
DOM.removeClass( wrap_id, 'html-active' );
DOM.addClass( wrap_id, 'tmce-active' );
DOM.setAttrib( txtarea_el, 'aria-hidden', true );
setUserSetting( 'editor', 'tinymce' );
} else if ( 'html' === mode ) {
@@ -112,6 +113,7 @@ window.switchEditors = {
DOM.removeClass( wrap_id, 'tmce-active' );
DOM.addClass( wrap_id, 'html-active' );
DOM.setAttrib( txtarea_el, 'aria-hidden', false );
setUserSetting( 'editor', 'html' );
}
return false;
@@ -209,7 +211,7 @@ window.switchEditors = {
preserve_br = false,
blocklist = 'table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre' +
'|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section' +
'|article|aside|hgroup|header|footer|nav|figure|details|menu|summary';
'|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary';
if ( pee.indexOf( '<object' ) !== -1 ) {
pee = pee.replace( /<object[\s\S]+?<\/object>/g, function( a ) {