<template>
  <NodeViewWrapper class="relative px-4 py-1 rounded-md text-sm border border-error/25 bg-error/10 text-error-600 dark:text-error-300">
    <NodeViewContent class="py-1" />
  </NodeViewWrapper>
</template>

<script setup>
import { NodeViewContent, NodeViewWrapper } from "@tiptap/vue-3";
defineProps({
  decorations: { type: Array, required: true },
  selected: { type: Boolean, required: true },
  updateAttributes: { type: Function, required: true },
  deleteNode: { type: Function, required: true },
  node: { type: null, required: true },
  view: { type: null, required: true },
  getPos: { type: null, required: true },
  innerDecorations: { type: null, required: true },
  editor: { type: Object, required: true },
  extension: { type: Object, required: true },
  HTMLAttributes: { type: Object, required: true }
});
</script>
