mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-12 12:40:53 +02:00
fix detached mode
This commit is contained in:
@ -239,7 +239,7 @@ export default class ContentWrap extends Component {
|
|||||||
};
|
};
|
||||||
log('🔎 setPreviewContent', isForced);
|
log('🔎 setPreviewContent', isForced);
|
||||||
const targetFrame = this.detachedWindow
|
const targetFrame = this.detachedWindow
|
||||||
? this.detachedWindow.document.querySelector('iframe')
|
? this.detachedWindow //this.detachedWindow.document.querySelector('iframe')
|
||||||
: this.frame;
|
: this.frame;
|
||||||
|
|
||||||
const cssMode = this.props.currentItem.cssMode;
|
const cssMode = this.props.currentItem.cssMode;
|
||||||
|
Reference in New Issue
Block a user