미디어 필터와 이미지 액션 정리

This commit is contained in:
2026-06-17 10:28:53 +09:00
parent 11f8402cb6
commit 54d32af617
9 changed files with 68 additions and 93 deletions

View File

@@ -2352,20 +2352,6 @@ const handlePreviewKeydownCapture = (event) => {
onPreviewDeleteLine(lineIndex)
}
/**
* 라이브 모드 이미지 설정 패널을 연다.
* @param {number} lineIndex - 이미지 원본 줄 번호(0-based)
* @returns {void}
*/
const onPreviewEditImage = (lineIndex) => {
if (typeof lineIndex !== 'number' || lineIndex < 0) {
return
}
activeLogicalLineIndex.value = lineIndex
ensureBlockPanelEngaged()
}
/**
* 라이브 모드에서 현재 줄을 이전 줄 끝에 병합한다.
* @param {{ lineIndex: number, mergedLine: string }} payload - 병합 위치·결과 줄
@@ -3653,7 +3639,6 @@ const handleKeydown = (event) => {
@insert-after-line="onPreviewInsertAfterLine"
@delete-line="onPreviewDeleteLine"
@merge-with-previous-line="onPreviewMergeWithPreviousLine"
@edit-image="onPreviewEditImage"
@line-focus="handleLiveLineFocus"
@line-blur="handleLiveLineBlur"
@slash-update="onLiveSlashUpdate"