From 455abb1ab1a6ef9351293241d3a57f5f309c70b7 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 4 Feb 2020 21:45:27 +0100 Subject: [PATCH] Markdown: Use monospace font for editor Add inline style to wagtailadmin/pages/edit.html to force the markdown textarea to monospaced font. --- mpicms/templates/wagtailadmin/pages/edit.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mpicms/templates/wagtailadmin/pages/edit.html diff --git a/mpicms/templates/wagtailadmin/pages/edit.html b/mpicms/templates/wagtailadmin/pages/edit.html new file mode 100644 index 0000000..be8b615 --- /dev/null +++ b/mpicms/templates/wagtailadmin/pages/edit.html @@ -0,0 +1,9 @@ +{% extends "wagtailadmin/pages/edit.html" %} +{% block extra_css %} +{{ block.super }} + +{% endblock %}