mirror of
https://github.com/flarum/framework.git
synced 2025-05-01 17:14:05 +08:00
Add a tooltip to the Preview button
This commit is contained in:
parent
094345de85
commit
41df32f66e
@ -82,7 +82,8 @@ export default class TextEditor extends Component {
|
|||||||
Button.component({
|
Button.component({
|
||||||
icon: 'eye',
|
icon: 'eye',
|
||||||
className: 'Button Button--icon',
|
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