From 76fb1acf74b0f1c308f7c824d02c12244b7ac8f3 Mon Sep 17 00:00:00 2001 From: HQidea Date: Fri, 24 Feb 2023 16:45:35 +0800 Subject: [PATCH] fix: add textLength & lengthAdjust to CASE_SENSITIVE_ATTR (#3281) --- packages/x6-common/src/dom/attr.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/x6-common/src/dom/attr.ts b/packages/x6-common/src/dom/attr.ts index 30ed856e8ea..3f74446982f 100644 --- a/packages/x6-common/src/dom/attr.ts +++ b/packages/x6-common/src/dom/attr.ts @@ -6,6 +6,8 @@ export const CASE_SENSITIVE_ATTR = [ 'attributeName', 'attributeType', 'repeatCount', + 'textLength', + 'lengthAdjust', ] export type Attributes = { [key: string]: string | number | null | undefined }