basicEditor
basicEditor(
container,options,onLoad?):PrismEditor<{theme:EditorTheme; }>
Defined in: setups/index.ts:79
Same as minimalEditor, but also adds the indentGuides, highlightSelectionMatches, matchBrackets, highlightBracketPairs, defaultCommands, editHistory, searchWidget, showInvisibles, and matchTags extensions and language specific behavior.
Parameters
Section titled “Parameters”container
Section titled “container”string | HTMLElement
options
Section titled “options”onLoad?
Section titled “onLoad?”() => any
Returns
Section titled “Returns”PrismEditor<{ theme: EditorTheme; }>