mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-12-01 03:02:51 +00:00
!36998 【RichEditor】修改设置typingStyle后输入内容textShadow属性异常
Merge pull request !36998 from xuyue/copystyle
This commit is contained in:
commit
0541006725
@ -1265,6 +1265,7 @@ void RichEditorPattern::CopyTextSpanFontStyle(RefPtr<SpanNode>& source, RefPtr<S
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, LineHeight, PropertyInfo::LINEHEIGHT);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, LetterSpacing, PropertyInfo::LETTERSPACE);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, FontFeature, PropertyInfo::FONTFEATURE);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, TextShadow, PropertyInfo::TEXTSHADOW);
|
||||
}
|
||||
|
||||
void RichEditorPattern::CopyTextSpanLineStyle(
|
||||
@ -1272,7 +1273,6 @@ void RichEditorPattern::CopyTextSpanLineStyle(
|
||||
{
|
||||
CHECK_NULL_VOID(source);
|
||||
CHECK_NULL_VOID(target);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, TextShadow, PropertyInfo::TEXTSHADOW);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, TextAlign, PropertyInfo::TEXT_ALIGN);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, WordBreak, PropertyInfo::WORD_BREAK);
|
||||
COPY_SPAN_STYLE_IF_PRESENT(source, target, LineBreakStrategy, PropertyInfo::LINE_BREAK_STRATEGY);
|
||||
|
Loading…
Reference in New Issue
Block a user