Преглед на файлове

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

master
KaiSD преди 5 години
родител
ревизия
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());


Loading…
Отказ
Запис