DotNaos UI
CodeFile Editor

Editor

Code File Editor from the Code package.

Loading CodeFileEditor…

Source code

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

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
fileNameRequired
string
valueRequired
string
languageOptional
string
readOnlyOptional
boolean
false
isDirtyOptional
boolean
isSavingOptional
boolean
heightOptional
CodeEditorHeight
480
preferencesOptional
CodeEditorPreferences
onChangeOptional
((value: string) => void)
onCopyOptional
(() => void)
onSaveOptional
(() => void)