From ce15b5a37b8d351c7f8f42cb84e4b0deb69f71ed Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:33:35 -0500 Subject: [PATCH] Template editor error widget (#1651) (cherry picked from commit c94c24e0e186ed487353196945332d8ca1c02147) Co-authored-by: Lukas Hellebrandt --- airgun/views/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airgun/views/common.py b/airgun/views/common.py index c97adfa9c..c413ec9f8 100644 --- a/airgun/views/common.py +++ b/airgun/views/common.py @@ -401,6 +401,7 @@ class TemplateEditor(View): rendering_options = ItemsList(".//div[contains(@class,'navbar-editor')]/ul") import_template = Button(id='import-btn') fullscreen = Button(id='fullscreen-btn') + error = Text(".//div[@id='preview_error_toast']") editor = ACEEditor()