Merge pull request #324 from Chrissi2812/search
add text search and replace
This commit is contained in:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user