게시물 HTML iframe 블록 추가
This commit is contained in:
@@ -132,9 +132,9 @@ const blockCommands = [
|
||||
},
|
||||
{
|
||||
type: 'embed',
|
||||
label: '임베드',
|
||||
description: 'YouTube 등 외부 링크 삽입',
|
||||
keywords: ['embed', 'youtube', 'link', '임베드', '유튜브']
|
||||
label: 'HTML',
|
||||
description: 'URL 또는 iframe HTML 삽입',
|
||||
keywords: ['html', 'iframe', 'embed', 'youtube', 'link', '임베드', '유튜브']
|
||||
},
|
||||
{
|
||||
type: 'quote',
|
||||
@@ -2281,12 +2281,12 @@ defineExpose({
|
||||
<input
|
||||
v-model="block.url"
|
||||
class="admin-block-editor__embed-url w-full border-0 bg-transparent text-base font-semibold text-ink outline-none placeholder:text-soft"
|
||||
type="url"
|
||||
placeholder="https://www.youtube.com/watch?v=..."
|
||||
type="text"
|
||||
placeholder="https://www.youtube.com/watch?v=... 또는 iframe HTML"
|
||||
@input="updateStructuredBlock"
|
||||
>
|
||||
<p class="admin-block-editor__embed-help mt-2 text-xs text-muted">
|
||||
YouTube 링크는 공개 화면에서 영상으로 표시됩니다.
|
||||
URL 또는 iframe HTML은 공개 화면에서 HTML 블록으로 표시됩니다.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user