提交 09d3b496 编写于 作者: 1 100pah

fix: emphasis textConfig should be set on host el rather than attached text el.

上级 a61fd5ab
......@@ -707,7 +707,8 @@ export function setLabelStyle<LDI>(
normalModel,
opt
));
emphasisState.textConfig = createTextConfig(
const targetElEmphasisState = targetEl.ensureState('emphasis');
targetElEmphasisState.textConfig = createTextConfig(
emphasisState.style,
emphasisModel,
opt
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册