Skip to content

Callout NPM version

Callout

Installation

shell
pnpm add @yiitap/extension-callout

Usage

ts
import { VueNodeViewRenderer } from '@tiptap/vue-3'
import Callout from '@yiitap/extension-callout'
import type { CalloutOptions } from '@yiitap/extension-callout'
import View from './view.vue'

const OCallout = Callout.extend<CalloutOptions>({
  addNodeView() {
    return VueNodeViewRenderer(View)
  },
})

export default OCallout

More

Check out the documentation for the YiiEditor and full list of editor extensions.

MIT Licensed.