라이브 코드 블록 설정 패널 닫힘 수정

This commit is contained in:
2026-06-09 14:19:26 +09:00
parent b69039c7ff
commit 34b2d0a4c0
11 changed files with 64 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ const props = defineProps({
}
})
const emit = defineEmits(['commit', 'delete-line', 'insert-above', 'insert-below', 'merge-with-previous', 'leave-block'])
const emit = defineEmits(['commit', 'delete-line', 'insert-above', 'insert-below', 'merge-with-previous', 'leave-block', 'focus-line'])
const bodyLines = computed(() => {
const lines = String(props.modelValue ?? '').replace(/\r/g, '').split('\n')
@@ -122,6 +122,7 @@ const onBodyInput = (payload) => {
@insert-below="emit('insert-below', $event)"
@merge-with-previous="emit('merge-with-previous', bodySourceLine, $event)"
@leave-block="emit('leave-block', $event)"
@focus-line="emit('focus-line', $event)"
/>
</ProseCallout>
</div>