fix: 修复只读模式下富文本编辑器的值无法显示的问题

This commit is contained in:
gaoyunqi
2024-04-18 11:22:52 +08:00
parent a5a8ba94c4
commit 7faa374524
2 changed files with 20 additions and 2 deletions

View File

@ -417,7 +417,7 @@
}
function readonlySupport(name) {
return /Input|AutoCodeRule|DatePicker|Text|TimePicker|Range/.test(name);
return /^(Input|AutoCodeRule|DatePicker|Text|TimePicker|Range|RichTextEditor)$/.test(name);
}
function getShow(schema: FormSchema): boolean {