mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 12:01:32 +02:00
Append spell check menu to body so it isn't hidden by PDF view resizer
This commit is contained in:
@@ -216,8 +216,7 @@ define [
|
||||
</div>
|
||||
<div class="ace-editor-body"></div>
|
||||
<div
|
||||
id="spellCheckMenu"
|
||||
class="dropdown context-menu"
|
||||
class="dropdown context-menu spell-check-menu"
|
||||
ng-show="spellingMenu.open"
|
||||
ng-style="{top: spellingMenu.top, left: spellingMenu.left}"
|
||||
ng-class="{open: spellingMenu.open}"
|
||||
|
||||
@@ -6,6 +6,8 @@ define [
|
||||
|
||||
class SpellCheckManager
|
||||
constructor: (@$scope, @editor, @element) ->
|
||||
$(document.body).append @element.find(".spell-check-menu")
|
||||
|
||||
@updatedLines = []
|
||||
@highlightedWordManager = new HighlightedWordManager(@editor)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user