mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Clear annotations
This commit is contained in:
@@ -129,9 +129,8 @@ define [
|
||||
session.setMode("ace/mode/latex")
|
||||
|
||||
scope.$watch "annotations", (annotations) ->
|
||||
if annotations?
|
||||
session = editor.getSession()
|
||||
session.setAnnotations annotations
|
||||
session = editor.getSession()
|
||||
session.setAnnotations annotations
|
||||
|
||||
scope.$watch "readOnly", (value) ->
|
||||
editor.setReadOnly !!value
|
||||
|
||||
Reference in New Issue
Block a user