import { GeneratedFolder, ProjectUIDL } from '@teleporthq/teleport-types' import { RichTextEmbedsCodegen } from '@teleporthq/teleport-shared' import uidlSample from '../../../examples/test-samples/project-sample.json' import { createNextProjectGenerator } from '../src' import NextTemplate from '../src/project-template' import { generateRichTextEditorComponentCode } from '../src/rich-text-editor/component-generator' const template = JSON.parse(JSON.stringify(NextTemplate)) as GeneratedFolder /** * The blog post details page's Content node, as the GUI emits it: an * `html-node` whose `html` raw attribute carries a binding to the post's body. * This is the node that becomes `` — the one * place a code embed's `