mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-18 12:37:48 +01:00
Add Editor field to mutation observer
This commit is contained in:
@@ -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) {
|
||||
|
||||
2
themes/grav/js/admin.min.js
vendored
2
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user