When trying to follow the example from here:
public initialize(initControls) {
this.initControls = initControls;
this.deleteAll = function() {
this.initControls.getEditor()('html.set', '');
};
}
initControls.getEditor() is returning undefined in version 4.5.1, npm had updated me because of a security vulnerability.
Workaround is setting npm to use version 4.3.1 which has no security vulnerability and getEditor() is returning an instance.
When trying to follow the example from here:
initControls.getEditor() is returning undefined in version 4.5.1, npm had updated me because of a security vulnerability.
Workaround is setting npm to use version 4.3.1 which has no security vulnerability and getEditor() is returning an instance.