revIframe) {
          prevIframe.remove();
        }
        const iframe = document.createElement('iframe');
        iframe.id = 'result';
        iframe.setAttribute(
          'sandbox',
          'allow-same-origin allow-downloads allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-presentation allow-scripts',
        );
        iframe.src = url;
        iframe.addEventListener(
          'load',
          () => {
            iframe.contentWindow.postMessage({ html }, 