Add quote menu
This commit is contained in:
parent
53561a51f6
commit
353e76c9c9
8 changed files with 36 additions and 8 deletions
|
@ -363,7 +363,11 @@ class Status extends ImmutablePureComponent {
|
|||
};
|
||||
|
||||
handleReference = (status) => {
|
||||
this.props.dispatch(insertReferenceCompose(0, status.get('url')));
|
||||
this.props.dispatch(insertReferenceCompose(0, status.get('url'), 'BT'));
|
||||
};
|
||||
|
||||
handleQuote = (status) => {
|
||||
this.props.dispatch(insertReferenceCompose(0, status.get('url'), 'QT'));
|
||||
};
|
||||
|
||||
handleBookmarkClick = (status) => {
|
||||
|
@ -750,6 +754,7 @@ class Status extends ImmutablePureComponent {
|
|||
onReblog={this.handleReblogClick}
|
||||
onReblogForceModal={this.handleReblogForceModalClick}
|
||||
onReference={this.handleReference}
|
||||
onQuote={this.handleQuote}
|
||||
onBookmark={this.handleBookmarkClick}
|
||||
onBookmarkCategoryAdder={this.handleBookmarkCategoryAdderClick}
|
||||
onDelete={this.handleDeleteClick}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue