mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 11:52:34 +08:00
Fixes T1344: composer links fixed
This commit is contained in:
parent
e5dfc7cadd
commit
14c4c215e6
1 changed files with 1 additions and 1 deletions
|
@ -346,6 +346,7 @@ class ContenteditableComponent extends React.Component
|
|||
selection = document.getSelection()
|
||||
return if @_checkSameSelection(selection)
|
||||
return unless selection.anchorNode? and selection.focusNode?
|
||||
return unless @_selectionInScope(selection)
|
||||
|
||||
@_previousSelection = @_selection
|
||||
|
||||
|
@ -766,7 +767,6 @@ class ContenteditableComponent extends React.Component
|
|||
linkToModify: null
|
||||
editAreaWidth: editAreaWidth
|
||||
|
||||
# See selection API: http://www.w3.org/TR/selection-api/
|
||||
_selectionInScope: (selection) =>
|
||||
return false if not selection?
|
||||
editable = @_editableNode()
|
||||
|
|
Loading…
Reference in a new issue