Widget:CodeEditor

From Coder Merlin
Revision as of 20:21, 8 June 2021 by Yong-yan (talk | contribs)

Parameters:

uniqueID
integer: id for editor, must be unique per page
lineNumbers
boolean: true to display line numbers
theme
string: name of theme (which must be loaded via css)
readOnly
boolean: true if editing should be disabled
initialCode
string: initial code to place in editor