Restore source-editor commands controller for scratchpad & styleeditor menus

https://github.com/MoonchildProductions/moebius/pull/290
This commit is contained in:
janekptacijarabaci 2018-03-01 13:45:40 +01:00 • committed by Roy Tam
commit 28ab3c0e0d
5 changed files with 114 additions and 0 deletions

View file

@ -468,6 +468,9 @@ StyleSheetEditor.prototype = {
sourceEditor.container.addEventListener("mousemove", this._onMouseMove);
}
// Add the commands controller for the source-editor.
sourceEditor.insertCommandsController();
this.emit("source-editor-load");
});
},