()
| 148 | } |
| 149 | |
| 150 | async function convertHTML() { |
| 151 | //@ts-expect-error |
| 152 | const blocks = await editor.tryParseHTMLToBlocks(note?.note); |
| 153 | editor.replaceBlocks(editor.document, blocks); |
| 154 | } |
| 155 | |
| 156 | useEffect(() => { |
| 157 | if (initialContent === undefined) { |