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 @@
- {:json_encode($post->content)}
+ {:base64_encode(json_encode($post->content))}
@@ -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) {