Просмотр исходного кода

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

Sage Abdullah 1 месяц назад
Родитель
Сommit
f13b6f1120
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.