Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ define [
|
||||
highlight.row, highlight.column,
|
||||
highlight.row, highlight.column + highlight.word.length
|
||||
)
|
||||
highlight.markerId = @editor.getSession().addMarker range, "spelling-highlight"
|
||||
highlight.markerId = @editor.getSession().addMarker range, "spelling-highlight", null, true
|
||||
@highlights.rows[highlight.row] ||= []
|
||||
@highlights.rows[highlight.row].push highlight
|
||||
|
||||
|
||||
+2
-1
@@ -29,7 +29,8 @@ define [
|
||||
@openContextMenu(e.domEvent)
|
||||
|
||||
$(document).on "click", (e) =>
|
||||
@closeContextMenu(e)
|
||||
if e.which != 3 # Ignore if this was a right click
|
||||
@closeContextMenu(e)
|
||||
return true
|
||||
|
||||
@$scope.replaceWord = (highlight, suggestion) =>
|
||||
|
||||
Reference in New Issue
Block a user