diff --git a/packages/ckeditor5-link/src/ui/linkformview.ts b/packages/ckeditor5-link/src/ui/linkformview.ts index be0d91fb211..394d62f5975 100644 --- a/packages/ckeditor5-link/src/ui/linkformview.ts +++ b/packages/ckeditor5-link/src/ui/linkformview.ts @@ -272,7 +272,7 @@ export default class LinkFormView extends View { saveButton.set( { label: t( 'Insert' ), - tooltip: true, + tooltip: false, withText: true, type: 'submit', class: 'ck-button-action ck-button-bold' diff --git a/packages/ckeditor5-link/tests/ui/linkformview.js b/packages/ckeditor5-link/tests/ui/linkformview.js index 4aad0d94fbf..37989150f0a 100644 --- a/packages/ckeditor5-link/tests/ui/linkformview.js +++ b/packages/ckeditor5-link/tests/ui/linkformview.js @@ -104,6 +104,10 @@ describe( 'LinkFormView', () => { expect( secondFormRow.template.children[ 0 ].get( 1 ) ).to.equal( view.saveButtonView ); } ); + it( 'should `saveButtonView` has no tooltip', () => { + expect( view.saveButtonView.tooltip ).to.be.false; + } ); + it( 'should `backButtonView` has correct label', () => { const headerChildren = view.template.children[ 0 ].get( 0 ).template.children[ 0 ]; const backButton = headerChildren.get( 0 );