feat: release v2.0 - visual linker, instant edit, and ux improvements

This commit is contained in:
leeyj
2026-04-17 15:21:21 +09:00
parent 331411895e
commit bff0beea96
23 changed files with 560 additions and 78 deletions
+9
View File
@@ -134,6 +134,15 @@ export const EditorManager = {
wrapper.addEventListener('drop', async (e) => {
e.preventDefault(); e.stopPropagation();
// 💡 1. 메모 카드 드롭 처리 ([[#ID]] 삽입)
const memoId = e.dataTransfer.getData('memo-id');
if (memoId) {
this.editor.focus();
this.editor.insertText(` [[#${memoId}]] `);
return;
}
// 💡 2. 기존 파일 드롭 처리
const files = e.dataTransfer.files;
if (!files || files.length === 0) return;