Skip to content

Vizel API / core/src / VizelCallout

Variable: VizelCallout

ts
const VizelCallout: Node<VizelCalloutOptions, any>;

Defined in: packages/core/src/extensions/callout.ts:323

The Callout node extension.

Example

typescript
import { VizelCallout } from '@vizel/core'

const editor = new Editor({
  extensions: [VizelCallout],
})

// Insert a callout
editor.commands.setCallout({ type: 'info' })

Released under the MIT License.