memi-board 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/index.js +286 -269
- package/dist/index.js.map +1 -1
- package/dist/runtime/components/Editor.vue +203 -13
- package/dist/runtime/components/Settings.vue +20 -3
- package/dist/utils/deletePostCascade.d.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -377,7 +377,8 @@ const router = useRouter()
|
|
|
377
377
|
**Editor props:** `postId`(수정), `fixedCategory`(path 고정 시 선택 UI 숨김)
|
|
378
378
|
본문은 Nuxt UI **`UEditor`**(TipTap, `content-type="html"`). 호스트 `@nuxt/ui` 4.x 에 Editor 포함 필요.
|
|
379
379
|
|
|
380
|
-
**에디터 이미지:**
|
|
380
|
+
**에디터 이미지:** 툴바에서 기기 파일 또는 외부 HTTPS 이미지 URL을 추가할 수 있고, 붙여넣기 / 드롭 파일은 Firebase Storage에 업로드한다. 외부 URL은 Storage에 복사하지 않으며 원본이 삭제되거나 핫링크가 차단되면 표시되지 않는다. 첫 본문 이미지는 업로드·외부 링크 구분 없이 목록과 공유 대표 이미지로 사용한다.
|
|
381
|
+
|
|
381
382
|
`memiBoardPosts/{postId}/images/*` + `.../images/thumbnails/*` (최적화 이미지+썸네일).
|
|
382
383
|
글 문서는 아직 없을 수 있고, 붙여넣기는 `image/png` 등이 온다. Storage 예시 규칙은 쓰기를 **로그인 + 5MB + `image/*`** 로 본다. 규칙은 **앱 `storageBucket`과 같은 버킷**에 배포해야 한다.
|
|
383
384
|
|