라이브 에디터 콜아웃 줄 삭제 수정
This commit is contained in:
@@ -31,7 +31,7 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
const emit = defineEmits(['commit', 'insert-below'])
|
||||
const emit = defineEmits(['commit', 'insert-below', 'delete-line'])
|
||||
|
||||
const titleEditorRef = ref(null)
|
||||
const bodyEditorRef = ref(null)
|
||||
@@ -141,6 +141,7 @@ const onExitBelow = (payload) => {
|
||||
:model-value="modelValue"
|
||||
@commit="onBodyCommit"
|
||||
@insert-below="onExitBelow"
|
||||
@delete-line="emit('delete-line', $event)"
|
||||
/>
|
||||
</ProseToggle>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user