Explorar el Código

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

master
KaiSD hace 4 años
padre
commit
a85e09aa28
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      ace/index.html

+ 3
- 1
ace/index.html Ver fichero

@@ -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());


Cargando…
Cancelar
Guardar