Function CodeMirrorEditor
- CodeMirrorEditor(props): Element
-
Parameters
-
props: {
autoRun: boolean;
code: string;
codePre?: string;
disableRun: boolean;
insertText?: ((payload?) => string);
kernel?: Kernel;
outputAdapter: OutputAdapter;
sourceId: string;
toolbarPosition: "none" | "middle" | "up";
}
-
autoRun: boolean
-
code: string
-
Optional
codePre?: string
-
disableRun: boolean
-
Optional
insertText?: ((payload?) => string)
-
- (payload?): string
-
Returns string
-
Optional
kernel?: Kernel
-
-
sourceId: string
-
toolbarPosition: "none" | "middle" | "up"
Returns Element