You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data-webcontentsid={webContentsId}// needed for emain
618
-
preload={getWebviewPreloadUrl()}
619
-
// @ts-ignore This is a discrepancy between the React typing and the Chromium impl for webviewTag. Chrome webviewTag expects a string, while React expects a boolean.
620
-
allowpopups="true"
621
-
></webview>
616
+
<Fragment>
617
+
<webview
618
+
id="webview"
619
+
className="webview"
620
+
ref={model.webviewRef}
621
+
src={metaUrlInitial}
622
+
data-blockid={model.blockId}
623
+
data-webcontentsid={webContentsId}// needed for emain
624
+
preload={getWebviewPreloadUrl()}
625
+
// @ts-ignore This is a discrepancy between the React typing and the Chromium impl for webviewTag. Chrome webviewTag expects a string, while React expects a boolean.
0 commit comments