Skip to content

Commit

Permalink
Merge stable into master
Browse files Browse the repository at this point in the history
  • Loading branch information
CKTravisBot authored Jan 17, 2022
2 parents b355feb + e601ae6 commit bfba3ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ ClassicEditor
window.editor = editor;

window.attachTourBalloon( {
target: window.findToolbarItem(
editor.ui.view.toolbar,
item => item.buttonView && item.buttonView.tooltip && item.buttonView.tooltip === 'Find and replace' ),
text: 'Click to find and replace anything you need.',
target: window.findToolbarItem( editor.ui.view.toolbar,
item => item.buttonView && item.buttonView.label === 'Find and replace' ),
text: 'Click here to search.',
editor
} );
} )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ClassicEditor
window.editor = editor;

window.attachTourBalloon( {
target: window.findToolbarItem( editor.ui.view.toolbar, item => item.constructor.name === 'FileDialogButtonView' ),
target: window.findToolbarItem( editor.ui.view.toolbar, item => item.buttonView && item.buttonView.label === 'Insert image' ),
text: 'Click here to insert an image.',
tippyOptions: {
placement: 'top'
Expand Down

0 comments on commit bfba3ab

Please sign in to comment.