MCPcopy
hub / github.com/Peppermint-Lab/peppermint / convertHTML

Function convertHTML

apps/client/components/NotebookEditor/index.tsx:150–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers 1

NotebookEditorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected