mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Editor:
- Use standard button styles for the Quicktags buttons. - Better style for the TinyMCE buttons (hover/focus/active/disabled). - Move the fullscreen (DFW) button to the right. - Better style for the Visual/Text buttons in DFW. Props avryl, see #27279 git-svn-id: https://develop.svn.wordpress.org/trunk@27857 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -439,7 +439,8 @@
|
||||
|
||||
api.refreshButtons = function( fade ) {
|
||||
if ( s.mode === 'html' ) {
|
||||
$('#wp-fullscreen-mode-bar').removeClass('wp-tmce-mode').addClass('wp-html-mode');
|
||||
$('#wp-fullscreen-mode-bar').removeClass('wp-tmce-mode').addClass('wp-html-mode')
|
||||
.find('a').removeClass( 'active' ).filter('.wp-fullscreen-mode-html').addClass( 'active' );
|
||||
|
||||
if ( fade ) {
|
||||
$('#wp-fullscreen-button-bar').fadeOut( 150, function(){
|
||||
@@ -449,7 +450,8 @@
|
||||
$('#wp-fullscreen-button-bar').addClass('wp-html-mode');
|
||||
}
|
||||
} else if ( s.mode === 'tinymce' ) {
|
||||
$('#wp-fullscreen-mode-bar').removeClass('wp-html-mode').addClass('wp-tmce-mode');
|
||||
$('#wp-fullscreen-mode-bar').removeClass('wp-html-mode').addClass('wp-tmce-mode')
|
||||
.find('a').removeClass( 'active' ).filter('.wp-fullscreen-mode-tinymce').addClass( 'active' );
|
||||
|
||||
if ( fade ) {
|
||||
$('#wp-fullscreen-button-bar').fadeOut( 150, function(){
|
||||
|
||||
Reference in New Issue
Block a user