Skip to content

getEditor returning undefined #563

@patrickkforrit

Description

@patrickkforrit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions