editor has separate window now

This commit is contained in:
2025-07-14 01:30:33 +01:00
parent 1b0b53a2d2
commit 35ab726206
4 changed files with 102 additions and 29 deletions
+7
View File
@@ -182,6 +182,13 @@ impl eframe::App for Interface {
// Top bar with actions
egui::TopBottomPanel::top("top").show(ctx, |ui| {
ui.horizontal(|ui| {
// Open Markdown Editor button
if ui.button("📝 Open Editor").clicked() {
self.editor.show_editor = true;
}
ui.separator();
// create new template
if ui.button("New Template").clicked() {
self.right_panel_content = RightPanelContent::Template {