v1.4.1: 관리자 미디어 업로드 한도·라이브 에디터 UX 개선
종류별 업로드 크기 한도와 413 안내를 추가하고, 임베드·미디어 라이브 프리뷰·제목 Enter 포커스·스크롤 동작을 보정한다. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @property {string} label - 표시 이름
|
||||
* @property {string} description - 설명
|
||||
* @property {string[]} keywords - 검색 키워드
|
||||
* @property {'media-image'|'media-gallery'|'lines'} action - 실행 유형
|
||||
* @property {'media-image'|'media-gallery'|'media-video'|'media-audio'|'media-file'|'lines'} action - 실행 유형
|
||||
* @property {string[]} [lines] - 삽입할 마크다운 줄(action이 lines일 때)
|
||||
* @property {boolean} [showInDefaultMenu=true] - `/`만 입력했을 때 메뉴에 표시할지
|
||||
*/
|
||||
@@ -110,10 +110,31 @@ export const MARKDOWN_SLASH_COMMANDS = [
|
||||
{
|
||||
id: 'embed',
|
||||
label: '임베드',
|
||||
description: 'YouTube·X 등 외부 링크',
|
||||
description: 'YouTube·X 등 외부 URL 한 줄',
|
||||
keywords: ['embed', 'youtube', 'link', '임베드', '유튜브'],
|
||||
action: 'lines',
|
||||
lines: [':::embed', '', ':::']
|
||||
lines: ['https://']
|
||||
},
|
||||
{
|
||||
id: 'video',
|
||||
label: '비디오',
|
||||
description: '업로드 비디오 카드 선택',
|
||||
keywords: ['video', 'movie', 'mp4', '비디오', '영상'],
|
||||
action: 'media-video'
|
||||
},
|
||||
{
|
||||
id: 'audio',
|
||||
label: '오디오',
|
||||
description: '오디오 플레이어 카드 선택',
|
||||
keywords: ['audio', 'music', 'mp3', '오디오', '음악'],
|
||||
action: 'media-audio'
|
||||
},
|
||||
{
|
||||
id: 'file',
|
||||
label: '파일',
|
||||
description: '다운로드 파일 카드 선택',
|
||||
keywords: ['file', 'download', 'pdf', '파일', '다운로드'],
|
||||
action: 'media-file'
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user