add iframe.src

ace-patch-works-in-chromium
webzwo0i 2021-02-28 23:27:47 +01:00
parent 576be344e4
commit 707dc91caa
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ const Ace2Editor = function () {
iframe.title = 'pad';
iframe.allowTransparency = true; // for IE
iframe.ace_outerWin = outerWindow;
iframe.src = 'about:blank';
iframe.onload = postInnerFrame;
outerDocument.body.insertBefore(iframe, outerDocument.body.firstChild);