Переглянути джерело

Изменить 'ace/index.html'

master
KaiSD 4 роки тому
джерело
коміт
a85e09aa28
1 змінених файлів з 3 додано та 1 видалено
  1. +3
    -1
      ace/index.html

+ 3
- 1
ace/index.html Переглянути файл

@@ -39,7 +39,9 @@
showGutter: false,
autoScrollEditorIntoView: true
})
editor.getSession().setValue(localStorage.getItem("acetest"));
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
editor.getSession().on('change', function () {
localStorage.setItem("acetest", editor.getSession().getValue());


Завантаження…
Відмінити
Зберегти