Merge branch 'MDL-79107-master-2' of https://github.com/andrewnicols/moodle
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -526,7 +526,7 @@ export const setupForTarget = async(target, options = {}) => {
|
||||
editor.on('remove', ({target}) => {
|
||||
// Handle removal of the editor from the map on destruction.
|
||||
instanceMap.delete(target.targetElm);
|
||||
target.dataset.fieldtype = null;
|
||||
target.targetElm.dataset.fieldtype = null;
|
||||
});
|
||||
|
||||
// If the editor is part of a form, also listen to the jQuery submit event.
|
||||
|
||||
Reference in New Issue
Block a user