From 47620ab24cd0b829efbf70ac46cc46236056b14b Mon Sep 17 00:00:00 2001 From: zenn Date: Fri, 15 May 2026 18:22:30 +0900 Subject: [PATCH] =?UTF-8?q?v1.2.1:=20=EB=B8=94=EB=A1=9D=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=ED=8C=A8=EB=84=90=C2=B7=EC=9D=B4=EB=AF=B8=EC=A7=80?= =?UTF-8?q?=20alt=20=ED=86=A0=EA=B8=80=20=EB=B0=8F=20=ED=8F=AC=EC=BB=A4?= =?UTF-8?q?=EC=8A=A4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 게시물 설정 사이드바 오버레이로 이미지·갤러리·임베드를 편집하고, 파일명 alt 토글과 패널 입력 중 닫힘 문제를 해결했다. Co-authored-by: Cursor --- components/admin/AdminEditorBlockPanel.vue | 219 +++++++++++ components/admin/AdminMarkdownEditor.vue | 347 +++++++++--------- components/admin/AdminPostForm.vue | 99 ++++- .../content/ContentMarkdownRenderer.vue | 93 ++++- components/content/ProseImage.vue | 4 +- docs/map.md | 3 +- docs/spec.md | 17 +- docs/update.md | 10 + lib/markdown-block-context.js | 124 +++++++ lib/markdown-image.js | 100 +++++ package-lock.json | 4 +- package.json | 2 +- 12 files changed, 821 insertions(+), 201 deletions(-) create mode 100644 components/admin/AdminEditorBlockPanel.vue create mode 100644 lib/markdown-block-context.js create mode 100644 lib/markdown-image.js diff --git a/components/admin/AdminEditorBlockPanel.vue b/components/admin/AdminEditorBlockPanel.vue new file mode 100644 index 0000000..4e4c06e --- /dev/null +++ b/components/admin/AdminEditorBlockPanel.vue @@ -0,0 +1,219 @@ + + + diff --git a/components/admin/AdminMarkdownEditor.vue b/components/admin/AdminMarkdownEditor.vue index 58427c6..8301429 100644 --- a/components/admin/AdminMarkdownEditor.vue +++ b/components/admin/AdminMarkdownEditor.vue @@ -1,5 +1,7 @@ - - {{ block.alt }} + + { type="button" @click="openLightbox(block.images, imageIndex)" > - +
 {
       class="content-markdown-renderer__lightbox fixed inset-0 z-50 grid place-items-center bg-black/90 px-5 py-8"
       role="dialog"
       aria-modal="true"
+      aria-label="갤러리 이미지 보기"
+      tabindex="-1"
       @click.self="closeLightbox"
     >
       
-      
+