Editor

Basic usage

Readonly mode

Attributes

Attribute Description Default
v-model editor value

Options

Attribute Description Default
height editor height 100px
mode editor language mode (ace/mode/html, ace/mode/plain_text, ace/mode/json, ace/mode/yaml, ace/mode/python) ace/mode/json
readOnly read only false
showGutter show line numbers true
maxLines Lines count to show without scroll. If you want to fit all lines without scrollbar set it to 1000. Overwrite "height" option
highlightActiveLine Highlight active line true