{#if editing || replying} replying || editing, v => { replying = v editing = v } } > {#snippet customTitle()} {replying ? $t('comment.reply') : $t('form.edit')} {/snippet}
{ e.preventDefault() save(replying ? 'reply' : 'edit') }} class="contents" > {#if replying} { node.children = [ { children: [], comment_view: e.comment_view, depth: node.depth + 1, expanded: true, }, ...node.children, ] replying = false }} oncancel={() => (replying = false)} /> {:else if editing} {/if}
{/if}
  • {#if meta} {/if}
    {#if actions} (editing = true)} disabled={node.comment_view.banned_from_community || node.comment_view.post.locked} /> {/if}
    {@render children?.()}