mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-20 06:44:21 +01:00
fix: initial content of contentEditor
This commit is contained in:
@@ -96,24 +96,11 @@ export default function ContentEditor({ placeholder, initialContent, name }: Pro
|
||||
});
|
||||
|
||||
|
||||
const initContent = `## hello
|
||||
|
||||
|
||||
how are you doing man
|
||||
|
||||
|
||||
what's up with this face of yours
|
||||
`.replace(/\n(?=\n)/g, "\n\n<br/>\n");
|
||||
|
||||
|
||||
console.log(initContent);
|
||||
|
||||
|
||||
return (
|
||||
<div className={`remirror-theme ${styles.wrapper} bg-white`}>
|
||||
<Remirror
|
||||
manager={manager}
|
||||
initialContent={initContent}
|
||||
initialContent={initialContent}
|
||||
>
|
||||
<TextEditorComponents.SaveModule name={name} />
|
||||
<Toolbar />
|
||||
|
||||
Reference in New Issue
Block a user