We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1df544e commit b53e0abCopy full SHA for b53e0ab
1 file changed
packages/ra-ui-materialui/src/field/RichTextField.tsx
@@ -68,6 +68,9 @@ RichTextField.propTypes = {
68
purifyOptions: PropTypes.any,
69
};
70
71
+// We only support the case when sanitize() returns a string
72
+// hence we need to force the RETURN_DOM_FRAGMENT and RETURN_DOM
73
+// options to false
74
export type PurifyOptions = purify.Config & {
75
RETURN_DOM_FRAGMENT?: false | undefined;
76
RETURN_DOM?: false | undefined;
0 commit comments