mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:53:27 +08:00
Add a tooltip to the Preview button
This commit is contained in:
parent
141d6dfbbc
commit
1cc6c06946
@ -82,7 +82,8 @@ export default class TextEditor extends Component {
|
||||
Button.component({
|
||||
icon: 'eye',
|
||||
className: 'Button Button--icon',
|
||||
onclick: this.props.preview
|
||||
onclick: this.props.preview,
|
||||
title: app.translator.trans('core.forum.composer.preview_tooltip')
|
||||
})
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user