From cc8b8bb0eb47755b8109210ca8b55fd7728d7c0f Mon Sep 17 00:00:00 2001 From: Lukas Hellebrandt Date: Tue, 10 Dec 2024 15:07:00 +0100 Subject: [PATCH] Template editor error widget (cherry picked from commit c94c24e0e186ed487353196945332d8ca1c02147) --- 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()