瀏覽代碼

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

master
KaiSD 4 年之前
父節點
當前提交
39b46fc105
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      ace/index.html

+ 5
- 0
ace/index.html 查看文件

@@ -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…
取消
儲存