diff --git a/pkg/view/src/components/posts/PostEditor.tsx b/pkg/view/src/components/posts/PostEditor.tsx index 4e43f00..9864391 100644 --- a/pkg/view/src/components/posts/PostEditor.tsx +++ b/pkg/view/src/components/posts/PostEditor.tsx @@ -50,6 +50,7 @@ export default function PostEditor(props: { setAttachments(props.editing?.attachments ?? []); setCategories(props.editing?.categories ?? []); setTags(props.editing?.tags ?? []); + editor()?.setValue(props.editing?.content); }, [props.editing]); async function listRealm() { @@ -146,6 +147,7 @@ export default function PostEditor(props: {
- + +
+ Publish region +
+ + + }> + +