From 4bceb7ce91dd337be3c0a4ae0ad755da87f5b0ae Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 22 Jul 2026 11:00:13 -0400 Subject: [PATCH] embed mode: force embed-mode class via JS since Jinja2 context not flowing The embed_mode variable set in board.py context wasn't reaching base.html through Jinja2 extends. Added document.body.classList.add in page_editor_embed.html content block to force the class, which triggers the CSS rules hiding sidebar, topbar, and header. --- app/templates/page_editor_embed.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/templates/page_editor_embed.html b/app/templates/page_editor_embed.html index f55a0be..e4fccbd 100644 --- a/app/templates/page_editor_embed.html +++ b/app/templates/page_editor_embed.html @@ -4,6 +4,7 @@ {% block topbar %}{% endblock %} {% block content %} {% include '_page_editor_content.html' %} + {% endblock %} {% block scripts %}