瀏覽代碼

Use w-preview-iframe id to avoid custom axe config

Sage Abdullah 1 月之前
父節點
當前提交
6cf0376641
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bakerydemo/templates/wagtail_headless_preview/preview.html

+ 1 - 1
bakerydemo/templates/wagtail_headless_preview/preview.html

@@ -10,7 +10,7 @@
         </style>
     </head>
     <body>
-        <iframe id="preview-iframe" title="Headless preview" src="{{ preview_url }}" width="100%" height="100%" style="border: none;"></iframe>
+        <iframe id="w-preview-iframe" title="Headless preview" src="{{ preview_url }}" width="100%" height="100%" style="border: none;"></iframe>
         {% comment %}
             Include the wagtail userbar so we can run Axe in the intermediate
             iframe, but hide it so it's invisible.