Add useful placeholder for the long description textarea

This commit is contained in:
Luke Barnard 2017-11-06 18:03:00 +00:00
parent 36cd22663a
commit 137f1311b3
2 changed files with 11 additions and 0 deletions

View file

@ -867,6 +867,16 @@ export default React.createClass({
<h3> { _t("Long Description (HTML)") } </h3>
<textarea
value={this.state.profileForm.long_description}
placeholder={_t(
'<h1>HTML for your community\'s page</h1>\n' +
'<p>\n' +
' Use the Long Description to introduce ' +
'new members to the community, or distribute ' +
'some important <a href="https://about.riot.im">links</a>.\n' +
'</p> \n' +
'<p> \n' +
' You can even use "img" tags, but only for images reachable from MXC URLs.\n' +
'</p>\n')}
onChange={this._onLongDescChange}
tabIndex="4"
key="editLongDesc"