diff --git a/frontend/components/viewers/TextEditor.vue b/frontend/components/viewers/TextEditor.vue index 56e944c..fe1ea6a 100644 --- a/frontend/components/viewers/TextEditor.vue +++ b/frontend/components/viewers/TextEditor.vue @@ -7,7 +7,7 @@ const textarea = ref( null as unknown as HTMLTextAreaElement ); -const currentLine = ref(0); +const currentLine = ref(1); const totalLines = computed( () => editor.data?.editedContent.split('\n').length ?? 0 );