Browse Source

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

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

+ 2
- 2
ace/index.html View File

@@ -57,7 +57,7 @@
</head>
<body>
<div class="toolbar">
<!--<button id="btnSave" onClick="save()" class="btn btn_g">save</button>-->
<button id="btnSave" onClick="save()" class="btn btn_g">⇩</button>
<button id="btnUndo" onClick="editor.undo()" class="btn">↶</button>
<button id="btnRedo" onClick="editor.redo()" class="btn btn_g">↷</button>
<button id="btnFs" onclick="toggleFullscreen()" class="btn">◻</button>
@@ -85,7 +85,7 @@
document.getElementById("btnUndo").disabled = !editor.session.getUndoManager().hasUndo();
document.getElementById("btnRedo").disabled = !editor.session.getUndoManager().hasRedo();
if (!window.fullscreen) {
document.getElementById("btnFs").style.display = "block";
document.getElementById("btnFs").style.display = "compact";
}
}
editor.on("input", updateToolbar);


Loading…
Cancel
Save