mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix post content and title edit
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user