{
  "name": "svelte-sample-sample-doc-image",
  "title": "svelte-sample-sample-doc-image",
  "type": "registry:component",
  "description": "",
  "registryDependencies": [],
  "dependencies": [
    "prosekit@^0.22.0"
  ],
  "files": [
    {
      "path": "registry/src/svelte/sample/sample-doc-image.ts",
      "type": "registry:component",
      "target": "components/editor/sample/sample-doc-image.ts",
      "content": "import type { NodeJSON } from 'prosekit/core'\n\nexport const sampleContent: NodeJSON = {\n  type: 'doc',\n  content: [\n    {\n      type: 'paragraph',\n      content: [\n        {\n          type: 'text',\n          text: 'Paste or drop an image to upload it.',\n        },\n      ],\n    },\n    {\n      type: 'image',\n      attrs: {\n        src: 'https://static.photos/white/200x200/1',\n        width: 160,\n        height: 160,\n      },\n    },\n    {\n      type: 'image',\n      attrs: {\n        src: 'https://static.photos/yellow/640x360/42',\n        width: 240,\n        height: 135,\n      },\n    },\n  ],\n}\n"
    }
  ],
  "meta": {
    "hasIcons": false,
    "hidden": false,
    "story": "",
    "framework": "svelte",
    "accumulatedFiles": [
      "registry/src/svelte/sample/sample-doc-image.ts"
    ],
    "internalDependencies": []
  },
  "$schema": "https://ui.shadcn.com/schema/registry-item.json"
}
