Add Editor field to mutation observer

This commit is contained in:
Djamil Legato
2016-03-01 19:12:05 -08:00
parent 944b0ab7f5
commit 561682d76d
2 changed files with 2 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ export default class EditorField {
$('[data-grav-editor]').each((index, editor) => this.addEditor(editor));
$('window').trigger('grav-editor-ready');
$('body').on('mutation._grav', this._onAddedNodes.bind(this));
}
addButton(button, options) {

File diff suppressed because one or more lines are too long