Preview Editor

tag: <hpcc-preview>

TIP

See Getting Started for details on how to include @hpcc-js/preview in your application

Attributes

content_selector

Optional selector for extracting the preview content for the iframe. e.g. for Vitepress this would be "pre &gt; code"

Type: string

Default Value: ""

content

Preview Content

Type: string

Default Value: ""

preview_border

Border style for the preview iframe

Type: string

Default Value: "1px solid #ccc"

Events

Credits

Preview