DotNaos UI

Block

Code Block from the Code package.

Source code

Waiting for the preview before loading source files · 2 of 2

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
fileNameOptional
string
headerOptionalHide the built-in metadata/copy bar when a parent surface supplies equivalent controls.
"default" | "none"
"default"
heightOptionalAn explicit height is supported for embedded workbench surfaces. By default, the block hugs its content.
CodeEditorHeight
languageOptional
string
maxHeightOptional
number
showLineNumbersOptional
boolean
true
valueRequired
string