diff --git a/qt/aqt/webview.py b/qt/aqt/webview.py index 52ff48026..c31d1da4b 100644 --- a/qt/aqt/webview.py +++ b/qt/aqt/webview.py @@ -379,7 +379,7 @@ div[contenteditable="true"]:focus { from aqt import mw - head = mw.baseHTML() + web_content.head + csstxt + jstxt + head = mw.baseHTML() + csstxt + jstxt + web_content.head body_class = theme_manager.body_class()