feat: implement createNews API and integrate with content creation flow
This commit is contained in:
@@ -84,6 +84,7 @@ export const TextEditor = <TFormValues extends Record<string, unknown>>(
|
||||
types: ['heading', 'paragraph'],
|
||||
}),
|
||||
],
|
||||
immediatelyRender: false,
|
||||
content: watchContent,
|
||||
onUpdate: ({ editor }) => {
|
||||
setValue(name, editor.getHTML() as any) // eslint-disable-line @typescript-eslint/no-explicit-any
|
||||
|
||||
Reference in New Issue
Block a user