Skip to content

Commit f500060

Browse files
committed
chore: hide statusbar content when statusbar disabled
1 parent 8a8f339 commit f500060

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/pluggableWidgets/rich-text-web/src/RichText.editorConfig.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ export function getProperties(values: RichTextPreviewProps, defaultProperties: P
6767
if (values.imageSource === "none" || values.imageSource === null) {
6868
hidePropertiesIn(defaultProperties, values, ["imageSourceContent", "enableDefaultUpload"]);
6969
}
70+
71+
if (values.enableStatusBar === false) {
72+
hidePropertyIn(defaultProperties, values, "statusBarContent");
73+
}
7074
return defaultProperties;
7175
}
7276

0 commit comments

Comments
 (0)