Added some more commands and mades some quality of life improvements
All checks were successful
Build / build (push) Successful in 4m27s
All checks were successful
Build / build (push) Successful in 4m27s
This commit is contained in:
parent
3a23118036
commit
3cb5795ca5
17 changed files with 432 additions and 75 deletions
|
|
@ -6,21 +6,18 @@
|
|||
<title>dequoter</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<div id="app">
|
||||
<div class="editor-mountpoint"></div>
|
||||
<div class="status-bar deemphasized" data-controller="status">Cmd+P: open command palette. Shift+Cmd+P: rerun last command.</div>
|
||||
</div>
|
||||
<dialog id="command-dialog" data-controller="commands"
|
||||
data-action="dq-showcommands@window->commands#showCommands">
|
||||
data-action="dq-showcommands@window->commands#showCommands dq-rerunlastcommand@window->commands#rerunLastCommand">
|
||||
<div class="dialog-body">
|
||||
<div class="command-input">
|
||||
<input data-commands-target="commandInput" type="text" placeholder="Enter command"
|
||||
data-action="keyup.enter->commands#runCommand keydown.esc->commands#dismissDialog keyup->commands#handleKeyup">
|
||||
data-action="keyup.enter->commands#runCommand keyup.down->commands#focusSelect keydown.esc->commands#dismissDialog keyup->commands#handleKeyup">
|
||||
</div>
|
||||
<select multiple class="command-options" data-commands-target="commandSelect">
|
||||
<option value="format-json"><span class="option-label">JSON: Format</span></option>
|
||||
<option value="lorem-ipsum"><span class="option-label">Lorem Ipsum: Generate</span></option>
|
||||
<option value="lower-case"><span class="option-label">Lower Case</span></option>
|
||||
<option value="unquote"><span class="option-label">Unquote</span></option>
|
||||
<option value="upper-case"><span class="option-label">Upper Case</span></option>
|
||||
</select>
|
||||
<select multiple class="command-options" data-commands-target="commandSelect" data-action="keyup.enter->commands#runCommand"></select>
|
||||
</div>
|
||||
</dialog>
|
||||
<script src="./src/main.js" type="module"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue