Skip to content

Commit b03557e

Browse files
authored
Merge pull request agent0ai#1710 from alogotron/feat/editor-open-button-in-tab-bar
feat(editor): add Open file button to canvas tab bar
2 parents 5ff106a + b6097bb commit b03557e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎plugins/_editor/webui/editor-panel.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@
3838
</button>
3939
</div>
4040
</template>
41+
<button
42+
type="button"
43+
class="editor-new-tab"
44+
title="Open file"
45+
aria-label="Open file"
46+
:disabled="$store.editor.loading || $store.editor.saving"
47+
@click="$store.editor.runNewMenuAction('open')"
48+
>
49+
<span class="material-symbols-outlined" aria-hidden="true">folder_open</span>
50+
</button>
4151
<button
4252
type="button"
4353
class="editor-new-tab"

0 commit comments

Comments
 (0)