@robonen/editor/blockIndexfnblockIndextestedIndex of a block by id, or `-1` if absent. Source Tests Signaturets Copyexport function blockIndex(doc: EditorDocument, id: string): number{ ... }ParametersParameterTypeDefaultDescriptiondocEditorDocument——idstring——Returnsnumber