Function createDiffEditor
createDiffEditor(
domElement: HTMLElement,
options?: IStandaloneDiffEditorConstructionOptions,
override?: IEditorOverrideServices,
): IStandaloneDiffEditorcreateDiffEditor(
domElement: HTMLElement,
options?: IStandaloneDiffEditorConstructionOptions,
override?: IEditorOverrideServices,
): IStandaloneDiffEditor
Create a new diff editor under
domElement.domElementshould be empty (not contain other dom nodes). The editor will read the size ofdomElement.