1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 19:29:56 +00:00

Change editor participant (#3924)

* add API

* change style

t# interactive rebase in progress; onto 01448aa67
This commit is contained in:
Michael An
2019-07-27 16:33:18 +08:00
committed by Daniel Pan
parent e7823b05e1
commit cb3cea2cb9
4 changed files with 9 additions and 2 deletions

View File

@@ -227,6 +227,7 @@ class CommentPanel extends React.Component {
renderSuggestion={this.renderUserSuggestion}
style={defaultMentionStyle}
onAdd={(id, display) => {this.addParticipant(id);}}
appendSpaceOnAdd={true}
/>
</MentionsInput>
<Button className="submit-comment" color="primary" size="sm" onClick={this.onSubmit}>