Fix rich text editor bug at page creation (#994)
This commit is contained in:
parent
4e99c7bcdf
commit
ad0d723a09
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function usePageForm(
|
|||
title: page?.title || ""
|
||||
});
|
||||
const [content, changeContent] = useRichText({
|
||||
initial: page?.content,
|
||||
initial: pageExists ? page?.content : null,
|
||||
triggerChange
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue