mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix post content and title edit
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
{{{ if posts.data.tid }}}
|
||||
<a href="{config.relative_path}/topic/{posts.data.tid}">{posts.topic.title}</a>
|
||||
{{{ end }}}
|
||||
<span class="title-text">{posts.data.title}</span>
|
||||
<span data-action="editTitle" class="title-text">{posts.data.title}</span>
|
||||
</div>
|
||||
{{{if !posts.data.tid}}}
|
||||
<div class="topic-title-editable hidden">
|
||||
@@ -94,7 +94,7 @@
|
||||
<hr/>
|
||||
<div>
|
||||
<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">
|
||||
<textarea class="form-control w-100" style="height:300px;">{posts.data.rawContent}</textarea>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user