Merge pull request #324 from Chrissi2812/search

add text search and replace
This commit is contained in:
Philipp Kühn
2019-06-04 21:15:15 +02:00
committed by GitHub
7 changed files with 478 additions and 1 deletions

View File

@@ -84,7 +84,7 @@ export default class Editor extends Emitter {
}
this.events.forEach(name => {
this.on(name, this.options[camelCase(`on ${name}`)])
this.on(name, this.options[camelCase(`on ${name}`)] || (() => {}))
})
this.emit('init', {