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

{@html currentContent}

{/if} {:else}
{#if isEditing} toggleEditing(rootId, false)} /> {:else} {title} {/if} {#each orderedChildren as id, index} {/each}
{/if} {#if allowEditing}
Edit
{/if}