Skip to content

Agent Zero AI framework

feat(editor): add Open file button to canvas tab bar

Agent Zerob6097bbae6bc
diff --git a/plugins/_editor/webui/editor-panel.html b/plugins/_editor/webui/editor-panel.html
index 310a8f7a3..050599a91 100644
--- a/plugins/_editor/webui/editor-panel.html
+++ b/plugins/_editor/webui/editor-panel.html
@@ -38,6 +38,16 @@
</button>
</div>
</template>
+ <button
+ type="button"
+ class="editor-new-tab"
+ title="Open file"
+ aria-label="Open file"
+ :disabled="$store.editor.loading || $store.editor.saving"
+ @click="$store.editor.runNewMenuAction('open')"
+ >
+ <span class="material-symbols-outlined" aria-hidden="true">folder_open</span>
+ </button>
<button
type="button"
class="editor-new-tab"