[add] full screeen

This commit is contained in:
Andy Bunce 2025-08-29 16:09:27 +01:00
parent e81d9ac6f2
commit 79ee6bfcb7
2 changed files with 5 additions and 0 deletions

View file

@ -96,6 +96,9 @@
<button id="sync" title="Sync changes to server" type="button" class="btn btn-light"> <button id="sync" title="Sync changes to server" type="button" class="btn btn-light">
<i class="bi bi-arrow-repeat"></i> <i class="bi bi-arrow-repeat"></i>
</button> </button>
<button id="fullscreen" title="Full screen" type="button" class="btn btn-light">
<i class="bi bi-arrows-fullscreen"></i>
</button>
</div> </div>
<div class="btn-group" role="group" aria-label="Third group"> <div class="btn-group" role="group" aria-label="Third group">

View file

@ -35,6 +35,8 @@ $("connect").onclick = e => { e.preventDefault(); connect() };
$("search").onclick = e => lsp.openSearchPanel(view); $("search").onclick = e => lsp.openSearchPanel(view);
$("fullscreen").onclick = e => $("editor").requestFullscreen();
$("format").onclick = e => console.log("CMDS", lsp.listCommands(view)); $("format").onclick = e => console.log("CMDS", lsp.listCommands(view));
$("lint").onclick = async e => { $("lint").onclick = async e => {