Fixes editor not saving new value (#8379)

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2023-04-19 17:10:18 +05:30
1 parent 39b93cdb5b
commit ea0b59d7c0
4 files changed
+14

No files matched your search

@@ -320,6 +320,7 @@ const ProfileForm = ({
extraField?: React.ReactNode;
}) => {
const { t } = useLocale();
const [firstRender, setFirstRender] = useState(true);
const profileFormSchema = z.object({
username: z.string(),
@@ -385,6 +386,8 @@ const ProfileForm = ({
}}
excludedToolbarItems={["blockType"]}
disableLists
firstRender={firstRender}
setFirstRender={setFirstRender}
/>
</div>
<Button disabled={isDisabled} color="primary" className="mt-8" type="submit">