完善文章读取和编辑;

This commit is contained in:
2022-03-05 08:53:14 +08:00
parent 2806c7c204
commit 491d968d40
6 changed files with 190 additions and 80 deletions

View File

@@ -7,9 +7,8 @@
<title>{$post.title}</title>
<meta name="description" content="{$post.desc|default=$post.title}" />
{include file='common/_require'/}
<link rel="stylesheet" href="/static/lib/quill/quill.snow.css">
<link rel="stylesheet" href="/static/lib/highlight/styles/vs.css">
<script src="/static/lib/highlight/highlight.pack.js"></script>
<link rel="stylesheet" href="/static/lib/prismjs/prism.css">
<script src="/static/lib/prismjs/prism.js"></script>
<script src="/static/lib/clipboard/clipboard.js"></script>
<style>
.ql-editor {
@@ -124,8 +123,10 @@
</script>
{/if}
{/if}
<div class="ql-snow">
<article class="ql-editor">{$post->content_html|raw}</article>
<div class="">
<div class="ul-content ">
{$post->content_html|raw}
</div>
</div>
<div class="copyright">
{:get_system_config('post_copyright')}