mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
disable auto insert of brackets and quotes in ace
This commit is contained in:
parent
193766b437
commit
3a07b785db
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@ define [
|
|||
|
||||
editor = ace.edit(element.find(".ace-editor-body")[0])
|
||||
editor.$blockScrolling = Infinity
|
||||
|
||||
# disable auto insertion of brackets and quotes
|
||||
editor.setOption('behavioursEnabled', false)
|
||||
editor.setOption('wrapBehavioursEnabled', false)
|
||||
|
||||
window.editors ||= []
|
||||
window.editors.push editor
|
||||
|
||||
|
|
Loading…
Reference in a new issue