Markdown WYSIWYG Editor
MarkdownLexical
supports SSR and can be used in your NextJs application with Server Actions:
async function addItem(data: any) {'use server'console.log(data);}return (<><form action={addItem} className='w-full' ><MarkdownLexical name="markdown"><MarkdownLexicalFormatTextPlugin /></MarkdownLexical><Button type="submit">Submit</Button></form></>)