{{/* Code Editor Component — tabbed CM6 editor with tab bar, save, and status bar. Usage: {{template "code-editor" dict "ID" "editor"}} Creates mount points: {ID}EditorTabs, {ID}EditorContent, {ID}EditorWelcome, {ID}EditorStatus, {ID}EditorStatusFile, {ID}EditorStatusLang, {ID}EditorStatusBranch. CodeEditor.create() in code-editor.js binds to these IDs. */}} {{define "code-editor"}}
Open a file to start editing
Select from the file tree or Ctrl+P