Pārlūkot izejas kodu

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

master
KaiSD pirms 5 gadiem
vecāks
revīzija
bf6b585a6b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      ace/index.html

+ 2
- 2
ace/index.html Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt