mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
完善文章读取和编辑;
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
<div id="content-state" style="height: 30px;line-height: 30px;padding-left: 15px;border-top: 1px solid #e8e8e8;color: #666;">
|
||||
内容变动自动提交
|
||||
</div>
|
||||
<div id="content-data" style="display: none;">{:urlencode($post->content_html)}</div>
|
||||
<div id="content-data" style="display: none;">{:rawurldecode($post->content_html)}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -153,7 +153,6 @@
|
||||
}
|
||||
}
|
||||
editorConfig.onChange = (editor) => {
|
||||
console.log('content', editor)
|
||||
contentSaveLock = false;
|
||||
|
||||
$('#content-state').text('等待自动提交')
|
||||
|
||||
@@ -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')}
|
||||
|
||||
Reference in New Issue
Block a user