라이브 블록 상단 이탈과 인용 해제 보정

This commit is contained in:
2026-06-05 11:03:42 +09:00
parent 56a2c23471
commit 6daf9ca15e
10 changed files with 63 additions and 22 deletions

View File

@@ -31,7 +31,7 @@ const props = defineProps({
}
})
const emit = defineEmits(['commit', 'insert-below', 'delete-line'])
const emit = defineEmits(['commit', 'insert-above', 'insert-below', 'delete-line'])
const titleEditorRef = ref(null)
const bodyEditorRef = ref(null)
@@ -142,6 +142,7 @@ const onExitBelow = (payload) => {
:source-line-count="String(modelValue ?? '').split('\n').length"
:model-value="modelValue"
@commit="onBodyCommit"
@insert-above="emit('insert-above', $event)"
@insert-below="onExitBelow"
@delete-line="emit('delete-line', $event)"
/>