인라인 텍스트 색상 패널 추가

This commit is contained in:
2026-06-16 16:54:01 +09:00
parent 0bb07b5e03
commit 6c4064d8b5
16 changed files with 581 additions and 126 deletions

View File

@@ -1198,6 +1198,15 @@ const onBlockPanelUpdateToggleOptions = (patch) => {
blockEditor.value?.updateActiveToggleOptions?.(patch)
}
/**
* 블록 패널에서 선택 텍스트 색상을 수정한다.
* @param {string} color - 인라인 색상
* @returns {void}
*/
const onBlockPanelUpdateInlineColor = (color) => {
blockEditor.value?.updateActiveInlineColor?.(color)
}
const focusContentEditor = (event) => {
if (event?.isComposing || isTitleInputComposing.value || event?.keyCode === 229) {
return
@@ -2066,6 +2075,7 @@ defineExpose({
@update-callout-options="onBlockPanelUpdateCalloutOptions"
@update-code-options="onBlockPanelUpdateCodeOptions"
@update-toggle-options="onBlockPanelUpdateToggleOptions"
@update-inline-color="onBlockPanelUpdateInlineColor"
/>
</div>
</aside>