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:
commit
b3448fa294
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue