浏览代码

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>
         </style>
     </head>
     </head>
     <body>
     <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 %}
         {% comment %}
             Include the wagtail userbar so we can run Axe in the intermediate
             Include the wagtail userbar so we can run Axe in the intermediate
             iframe, but hide it so it's invisible.
             iframe, but hide it so it's invisible.