From ae504e68f9224c599044d66cd31ef6e26a4f89f4 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 99d0ec676..35585db2b 100644 --- a/airgun/views/common.py +++ b/airgun/views/common.py @@ -471,6 +471,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()