인라인 텍스트 색상 패널 추가
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user