【RichEditor】适配通用属性镜像能力

Signed-off-by: carnivore233 <xuyue51@huawei.com>
This commit is contained in:
carnivore233 2024-09-05 09:45:50 +08:00
parent ea9b113077
commit 9e5b042750

View File

@ -449,6 +449,7 @@ void RichEditorPattern::AfterStyledStringChange(int32_t start, int32_t length, c
void RichEditorPattern::OnModifyDone() void RichEditorPattern::OnModifyDone()
{ {
Pattern::CheckLocalized();
auto host = GetHost(); auto host = GetHost();
CHECK_NULL_VOID(host); CHECK_NULL_VOID(host);
auto layoutProperty = host->GetLayoutProperty<TextLayoutProperty>(); auto layoutProperty = host->GetLayoutProperty<TextLayoutProperty>();