mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Added support for link button state
This commit is contained in:
parent
779a63f486
commit
5e4580d63e
|
@ -423,7 +423,8 @@ $(document).ready( function() {
|
|||
|
||||
var tools = {
|
||||
'textStyle/bold': $( '#es-toolbar-bold' ),
|
||||
'textStyle/italic': $( '#es-toolbar-italic' )
|
||||
'textStyle/italic': $( '#es-toolbar-italic' ),
|
||||
'link/internal': $( '#es-toolbar-link' )
|
||||
};
|
||||
surfaceView.on( 'select', function( range ) {
|
||||
for ( var key in tools ) {
|
||||
|
|
Loading…
Reference in a new issue