mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-19 13:19:58 +01:00
eval line and eval block working
This commit is contained in:
@@ -12,8 +12,8 @@ module.exports = class Editor extends Component {
|
||||
|
||||
load (element) {
|
||||
this.editor = new HydraEditor(this.textEl)
|
||||
this.editor.on("*", (e, t) => {
|
||||
this.emit(e)
|
||||
this.editor.on("*", (e, args) => {
|
||||
this.emit(e, args)
|
||||
})
|
||||
// hacky, maybe not necessary
|
||||
this.innerText = document.getElementsByClassName('CodeMirror')[0]
|
||||
|
||||
Reference in New Issue
Block a user