Optional
inserttrue
Language used for syntax highlighting.
"text"
Optional
lineWhether line numbers should be shown.
true
Optional
onFunction called when the selection changes in the editor.
Optional
onFunction called before the tokens are stringified to HTML.
Optional
onFunction called when the code of the editor changes.
Optional
readWhether the editor should be read only.
false
Optional
Experimental
rtl?: booleanWhether the editor uses right to left directionality.
false
Optional
tabTabsize for the editor.
2
Code to display in the editor.
Optional
wordWhether the editor should have word wrap.
false
Generated using TypeDoc
Whether the editor should insert spaces for indentation.