{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "slash-kit",
  "dependencies": [
    "@platejs/slash-command"
  ],
  "registryDependencies": [
    "https://platejs.org/r/slash-node.json"
  ],
  "files": [
    {
      "path": "src/registry/components/editor/plugins/slash-kit.tsx",
      "content": "'use client';\n\nimport { SlashInputPlugin, SlashPlugin } from '@platejs/slash-command/react';\nimport { type SlateEditor, KEYS } from 'platejs';\n\nimport { SlashInputElement } from '@/registry/ui/slash-node';\n\nexport const SlashKit = [\n  SlashPlugin.configure({\n    options: {\n      triggerQuery: (editor: SlateEditor) =>\n        !editor.api.some({\n          match: { type: editor.getType(KEYS.codeBlock) },\n        }),\n    },\n  }),\n  SlashInputPlugin.withComponent(SlashInputElement),\n];\n",
      "type": "registry:component",
      "target": "@components/editor/plugins/slash-kit.tsx"
    }
  ],
  "type": "registry:component"
}