import type { NodeJSON } from 'prosekit/core'
export const sampleContent: NodeJSON = {
type: 'doc',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'An example of using prosemirror-adapter to render custom node views',
},
],
},
{
type: 'atomBlock',
},
],
}
npx shadcn@latest add @prosekit/solid-sample-sample-doc-view-adapterimport { SolidSampleSampleDocViewAdapter } from "@/components/solid-sample-sample-doc-view-adapter"<SolidSampleSampleDocViewAdapter />