From f41a13c217a847cea3374e8f90d89bdd4f05fa08 Mon Sep 17 00:00:00 2001 From: landaiqing Date: Thu, 24 Apr 2025 21:43:07 +0800 Subject: [PATCH] :sparkles: Added tab indentation --- frontend/src/components/toolbar/index.vue | 52 +++++ frontend/src/editor/index.vue | 222 ++++++++++++++++------ frontend/src/stores/editor.ts | 205 ++++++++++++-------- 3 files changed, 337 insertions(+), 142 deletions(-) diff --git a/frontend/src/components/toolbar/index.vue b/frontend/src/components/toolbar/index.vue index 857ed7d..7253fbc 100644 --- a/frontend/src/components/toolbar/index.vue +++ b/frontend/src/components/toolbar/index.vue @@ -21,6 +21,17 @@ const editorStore = useEditorStore(); {{ editorStore.fontSize }}px + + + + + {{ editorStore.tabSize }} + + + {{ editorStore.encoding }}