diff --git a/applications/browser-extension/src/components/formBuilder/formBuilderHelpers.ts b/applications/browser-extension/src/components/formBuilder/formBuilderHelpers.ts index a938d1f473..fbf74e93d6 100644 --- a/applications/browser-extension/src/components/formBuilder/formBuilderHelpers.ts +++ b/applications/browser-extension/src/components/formBuilder/formBuilderHelpers.ts @@ -66,11 +66,6 @@ export const FIELD_TYPES_WITHOUT_DEFAULT = [ propertyType: "string", propertyFormat: "data-url", }), - stringifyUiType({ - propertyType: "string", - uiWidget: "richText", - propertyFormat: "html", - }), stringifyUiType({ propertyType: "string", uiWidget: "imageCrop", diff --git a/applications/browser-extension/src/components/formBuilder/widgets/RichTextWidget.tsx b/applications/browser-extension/src/components/formBuilder/widgets/RichTextWidget.tsx index bd535147f8..61c19c4654 100644 --- a/applications/browser-extension/src/components/formBuilder/widgets/RichTextWidget.tsx +++ b/applications/browser-extension/src/components/formBuilder/widgets/RichTextWidget.tsx @@ -28,6 +28,7 @@ const RichTextWidget: React.FunctionComponent = ({ disabled, readonly, options, + value }) => { const { database } = options; @@ -45,6 +46,7 @@ const RichTextWidget: React.FunctionComponent = ({ }} editable={!(disabled || readonly)} assetDatabaseId={validateUUID(database)} + content={typeof value === "string" ? value : ""} /> ); };