diff --git a/shared/tinymce/toolbar.js b/shared/tinymce/toolbar.js index c53362a324811..1690d85157e75 100644 --- a/shared/tinymce/toolbar.js +++ b/shared/tinymce/toolbar.js @@ -49,6 +49,9 @@ } ); return this; + }, + active: function( isActive ) { + this.$( this.getEl() ).toggleClass( 'is-active', isActive ); } } ); diff --git a/tinymce-single/tinymce/block.css b/tinymce-single/tinymce/block.css index 67636e238fafa..bf4c5273f7673 100644 --- a/tinymce-single/tinymce/block.css +++ b/tinymce-single/tinymce/block.css @@ -71,7 +71,7 @@ background-color: #f0f2f4; } -.mce-inline-toolbar-grp .mce-btn.mce-active, +.mce-inline-toolbar-grp .mce-btn.is-active, .mce-inline-toolbar-grp .mce-btn:active { background-color: #e0e5e9; }