React forms plugin for RTE plugin made upon react quill
yarn add rf-quill react-quill
or
npm i rf-quill react quill
-
Import 'rf-quill'
import 'rf-quill';
-
Use type name as 'rte-quill' in the react form config.
{
"type": "rte-quill",
valueKey: "description",
fieldProps: {
name: string,
format?: QuillFormat[];
label: string;
labelProps: InputLabelProps;
helperText: string;
helperTextProps: FormHelperTextProps;
}
}
<MLFormContent
formId={'form'}
schema={{type: "rte-quill", valueKey: "Description"}}
actionConfig={{ displayActions: false }}
formikProps={formikProps}
settings={{
verticalSpacing: 20,
horizontalSpacing: 24
}}
/>