Edit posts from prev site version. (#142)
This commit is contained in:
parent
48948f1141
commit
1ca80cede9
|
@ -216,7 +216,8 @@ export const Editor = (props: EditorProps) => {
|
|||
}),
|
||||
TrailingNode,
|
||||
Article
|
||||
]
|
||||
],
|
||||
content: props.initialContent ?? null
|
||||
}))
|
||||
|
||||
onMount(() => {
|
||||
|
|
|
@ -444,8 +444,8 @@ export const EditView = (props: Props) => {
|
|||
</div>
|
||||
|
||||
<Editor
|
||||
shoutId={props.shout.id}
|
||||
initialContent={props.shout.body}
|
||||
shoutId={form.shoutId}
|
||||
initialContent={form.body}
|
||||
onChange={(body) => setForm('body', body)}
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user