浏览代码

Изменить '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());


正在加载...
取消
保存