From e9c8e1fe3c0438f96599bbeb24b27f1caddf8725 Mon Sep 17 00:00:00 2001 From: yangjian Date: Fri, 8 Jan 2021 20:50:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E6=9B=B4=E6=96=B0editor.md=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E4=BB=A3=E7=A0=81=E5=9D=97=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 1 + static/editor.md/css/editormd.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0323a64..fb0fce9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,7 @@ pyppeteer==0.0.25 loguru==0.4.1 djangorestframework==3.9.1 requests==2.24.0 +setuptools-scm whoosh==2.7.4 django-haystack==3.0 Markdown==3.3.3 diff --git a/static/editor.md/css/editormd.css b/static/editor.md/css/editormd.css index 07f42d3..c0b282d 100644 --- a/static/editor.md/css/editormd.css +++ b/static/editor.md/css/editormd.css @@ -4048,7 +4048,7 @@ li.L9 { .editormd-preview-container pre.prettyprint, .editormd-html-preview pre.prettyprint { padding: 10px; - border: 1px solid #ddd; + border: 0px solid #ddd; white-space: pre-wrap; word-wrap: break-word; }