{#each sorted as block (block.id)}
onParagraphClick(block.annotationId)} role="button" tabindex="0" onkeydown={(e) => { if (e.key === 'Enter' || e.key === ' ') onParagraphClick(block.annotationId); }} > {#each splitByMarkers(block.text) as segment, i (i)} {#if segment.type === 'marker'} {segment.text} {:else} {segment.text} {/if} {/each}
{/each}