브랜드 컬러 설정 추가 v1.5.36
This commit is contained in:
@@ -1053,6 +1053,15 @@ const onBlockPanelUpdateEmbedUrl = (url) => {
|
||||
blockEditor.value?.updateActiveEmbedUrl?.(url)
|
||||
}
|
||||
|
||||
/**
|
||||
* 블록 패널에서 인용 배경색을 수정한다.
|
||||
* @param {string} background - 인용 배경색
|
||||
* @returns {void}
|
||||
*/
|
||||
const onBlockPanelUpdateQuoteBackground = (background) => {
|
||||
blockEditor.value?.updateActiveQuoteBackground?.(background)
|
||||
}
|
||||
|
||||
const focusContentEditor = (event) => {
|
||||
if (event?.isComposing || isTitleInputComposing.value || event?.keyCode === 229) {
|
||||
return
|
||||
@@ -1874,6 +1883,7 @@ defineExpose({
|
||||
@remove-media-image="onBlockPanelRemoveMediaImage"
|
||||
@add-gallery-images="onBlockPanelAddGalleryImages"
|
||||
@update-embed-url="onBlockPanelUpdateEmbedUrl"
|
||||
@update-quote-background="onBlockPanelUpdateQuoteBackground"
|
||||
/>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user