R
fn

createId

tested

Stable, collision-resistant identifier for blocks. Block ids survive split/merge/move and are how positions, selections, and the CRDT address a block — so they must be unique and never reused.

Signature

ts
export function createId(): string{ ... }

Returns

string