1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-03-21 02:59:42 +01:00

fix detached mode

This commit is contained in:
Kushagra Gour 2024-03-22 04:48:31 +05:30
parent 6edd504517
commit abab5a5735

View File

@ -239,7 +239,7 @@ export default class ContentWrap extends Component {
};
log('🔎 setPreviewContent', isForced);
const targetFrame = this.detachedWindow
? this.detachedWindow.document.querySelector('iframe')
? this.detachedWindow //this.detachedWindow.document.querySelector('iframe')
: this.frame;
const cssMode = this.props.currentItem.cssMode;