Merge pull request #18309 from edx/thallada/fix-edit-image-scroll

Allow scrolling after insert/edit image in Studio
This commit is contained in:
Tyler Hallada
2018-06-04 13:25:46 -04:00
committed by GitHub

View File

@@ -1289,8 +1289,9 @@
HTMLEditingDescriptor.prototype.editImageSubmit = function(event) {
if (event.detail) {
return this.saveImageFromModal(event.detail);
this.saveImageFromModal(event.detail);
}
return this.closeImageModal();
};
HTMLEditingDescriptor.prototype.editLink = function(data) {