0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Merge pull request #6857 from TryGhost/fix-editor-with-wrapped-images

Fix broken editor when content contains wrapped images
This commit is contained in:
Hannah Wolfe 2016-05-18 22:25:21 +01:00
commit b3448fa294

View file

@ -92,7 +92,7 @@ export default Component.extend({
el.innerHTML = '';
el.classList.remove('image-uploader');
fragment.replaceChild(el, oldEl);
oldEl.parentNode.replaceChild(el, oldEl);
});
this.set('previewHTML', fragment);