|
@@ -80,7 +80,7 @@ export default class ImageResizeUI extends Plugin {
|
|
|
label: t( label ),
|
|
label: t( label ),
|
|
|
withText: true,
|
|
withText: true,
|
|
|
icon: linkIcon,
|
|
icon: linkIcon,
|
|
|
- tooltip: t( 'Resize Image' ),
|
|
|
|
|
|
|
+ tooltip: t( `Resize image to ${ parsedValue }` ),
|
|
|
isToggleable: true,
|
|
isToggleable: true,
|
|
|
commandValue: parsedValue
|
|
commandValue: parsedValue
|
|
|
} );
|
|
} );
|
|
@@ -118,7 +118,7 @@ export default class ImageResizeUI extends Plugin {
|
|
|
const dropdownButton = dropdownView.buttonView;
|
|
const dropdownButton = dropdownView.buttonView;
|
|
|
|
|
|
|
|
dropdownButton.set( {
|
|
dropdownButton.set( {
|
|
|
- tooltip: t( 'Resize Image' ),
|
|
|
|
|
|
|
+ tooltip: t( 'Resize image' ),
|
|
|
icon: linkIcon,
|
|
icon: linkIcon,
|
|
|
commandValue: firstOption.value,
|
|
commandValue: firstOption.value,
|
|
|
isToggleable: true,
|
|
isToggleable: true,
|