bring back composer send history and arrow up to edit previous message
This commit is contained in:
parent
ca3539d53e
commit
cc82353d8f
3 changed files with 84 additions and 46 deletions
|
@ -144,6 +144,10 @@ export default class BasicMessageEditor extends React.Component {
|
|||
return this._lastCaret;
|
||||
}
|
||||
|
||||
isSelectionCollapsed() {
|
||||
return !this._lastSelection || this._lastSelection.isCollapsed;
|
||||
}
|
||||
|
||||
isCaretAtStart() {
|
||||
return this.getCaret().offset === 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue