import type { NodeJSON } from 'prosekit/core'
export const sampleContent: NodeJSON = {
type: 'doc',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
marks: [
{
type: 'italic',
},
],
text: 'This is italic',
},
],
},
{
type: 'paragraph',
content: [
{
type: 'text',
marks: [
{
type: 'italic',
},
],
text: 'This is italic too',
},
],
},
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'This is normal text',
},
],
},
],
}
npx shadcn@latest add @prosekit/vue-sample-sample-doc-italicimport { VueSampleSampleDocItalic } from "@/components/vue-sample-sample-doc-italic"<VueSampleSampleDocItalic />