Browse Source

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

master
KaiSD 5 years ago
parent
commit
39b46fc105
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ace/index.html

+ 5
- 0
ace/index.html View File

@@ -39,6 +39,11 @@
showGutter: false,
autoScrollEditorIntoView: true
})
editor.getSession().setValue(localStorage.getItem("acetest"));
editor.getSession().on('change', function () {
localStorage.setItem("acetest", editor.getSession().getValue());
});
</script>

</body>


Loading…
Cancel
Save