{#if orderedChildren.length === 0 || depth >= 4} {#key updateCount} {#if isEditing}
{:else}

{@html currentContent}

{/if} {/key} {:else}
{#if isEditing} toggleEditing(rootId, false)} /> {:else} {title} {/if} {#key subtreeUpdateCount} {#each orderedChildren as id, index} {/each} {/key}
{/if} {#if allowEditing && depth > 0}
{#if hasPreviousSibling && parentId} {/if} {#if hasNextSibling && parentId} {/if} Edit
{/if}