Procházet zdrojové kódy

Brought back tooltips after ckeditor/ckeditor5-ui#120.

Piotrek Koszuliński před 9 roky
rodič
revize
682851ed3d
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      packages/ckeditor5-link/src/link.js

+ 2 - 0
packages/ckeditor5-link/src/link.js

@@ -86,6 +86,7 @@ export default class Link extends Plugin {
 			button.label = t( 'Link' );
 			button.icon = linkIcon;
 			button.keystroke = 'CTRL+K';
+			button.tooltip = true;
 
 			// Bind button to the command.
 			button.bind( 'isEnabled' ).to( linkCommand, 'isEnabled' );
@@ -114,6 +115,7 @@ export default class Link extends Plugin {
 			button.isEnabled = false;
 			button.label = t( 'Unlink' );
 			button.icon = unlinkIcon;
+			button.tooltip = true;
 
 			// Bind button to the command.
 			button.bind( 'isEnabled' ).to( unlinkCommand, 'isEnabled' );