From f9bed58699a6b79307cc1cb97b4ca45f400aa4a3 Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 27 Aug 2020 10:23:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E5=99=A8ht?= =?UTF-8?q?ml=E6=B3=A8=E9=87=8A=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/admin/post/edit.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/view/admin/post/edit.html b/view/admin/post/edit.html index 95134ad..c9da2fa 100644 --- a/view/admin/post/edit.html +++ b/view/admin/post/edit.html @@ -120,7 +120,7 @@
- + @@ -298,9 +298,8 @@ }); - console.log(JSON.parse($('#content').text())); - quill.setContents(JSON.parse($('#content').text())) + quill.setContents(JSON.parse(window.atob($('#content').text()))) quill.on('selection-change', function (range, oldRange, source) { if (range) {