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:
parent
6edd504517
commit
abab5a5735
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user