From 309f945751dc6d9caba2b3593e917952944c827f Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Tue, 31 Mar 2026 11:48:14 -0400 Subject: [PATCH] feat: add CodeMirror-based file editor with modal interface and syntax highlighting - Import CodeMirror 6 modules via ESM with importmap for @codemirror/state - Add editor modal UI with header, cancel/save buttons, and editor body container - Implement openEditor function to load file content and initialize CodeMirror with language-specific syntax highlighting - Support 20+ file extensions including markdown, python, javascript, html, css, json, xml, sql, php, cpp, java, rust, and shell scripts --- frontend/popout.html | 316 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 305 insertions(+), 11 deletions(-) diff --git a/frontend/popout.html b/frontend/popout.html index ffac8ac..bfa4287 100644 --- a/frontend/popout.html +++ b/frontend/popout.html @@ -12,6 +12,64 @@ + +