fix post content and title edit
isekai-main
Barış Soner Uşaklı 2 years ago
parent 51bf5e9512
commit 24bd9d4e88

@ -82,7 +82,7 @@
{{{ if posts.data.tid }}} {{{ if posts.data.tid }}}
<a href="{config.relative_path}/topic/{posts.data.tid}">{posts.topic.title}</a> <a href="{config.relative_path}/topic/{posts.data.tid}">{posts.topic.title}</a>
{{{ end }}} {{{ end }}}
<span class="title-text">{posts.data.title}</span> <span data-action="editTitle" class="title-text">{posts.data.title}</span>
</div> </div>
{{{if !posts.data.tid}}} {{{if !posts.data.tid}}}
<div class="topic-title-editable hidden"> <div class="topic-title-editable hidden">
@ -94,7 +94,7 @@
<hr/> <hr/>
<div> <div>
<strong>[[post-queue:content]] <i class="fa fa-fw fa-edit" data-bs-toggle="tooltip" title="[[post-queue:content-editable]]"></i></strong> <strong>[[post-queue:content]] <i class="fa fa-fw fa-edit" data-bs-toggle="tooltip" title="[[post-queue:content-editable]]"></i></strong>
<div class="post-content text-break">{posts.data.content}</div> <div data-action="editContent" class="post-content text-break">{posts.data.content}</div>
<div class="post-content-editable hidden"> <div class="post-content-editable hidden">
<textarea class="form-control w-100" style="height:300px;">{posts.data.rawContent}</textarea> <textarea class="form-control w-100" style="height:300px;">{posts.data.rawContent}</textarea>
</div> </div>

Loading…
Cancel
Save