Replace static references to `Blockly.functionEditor` with `this`