From 4df58440648eeeb644f22bf291fa7e295891a78f 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 --- airgun/views/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airgun/views/common.py b/airgun/views/common.py index e09166c4b..355a51e11 100644 --- a/airgun/views/common.py +++ b/airgun/views/common.py @@ -539,6 +539,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()