Monaco-editor: The overriden of editorService does not work when monaco-editor upgrate to V0.14.3

Created on 30 Aug 2018  路  1Comment  路  Source: microsoft/monaco-editor

After I upgraded the monaco-editor version from 0.13.0 to 0.14.1, the override method of the editorService will no longer take effect:

this.editor = context.monaco.editor.create(
this.containerElement,
{value, language,},
{ editorService: this.getEditorService(handleOpenDefinition)}
);
function getEditorService(callback) {
//open new model
}
monaco-editor version: 0.14.3
Browser:chrome
OS: MAC
Steps or JS usage snippet reproducing the issue:

@alexandrudima

thanks...

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fabiospampinato picture fabiospampinato  路  3Comments

andreymarchenko picture andreymarchenko  路  3Comments

chengtie picture chengtie  路  3Comments

SoftTimur picture SoftTimur  路  3Comments

poloten4uk picture poloten4uk  路  3Comments