MCPcopy Index your code
hub / github.com/codex-team/editor.js / currentBlock

Method currentBlock

src/components/modules/blockManager.ts:72–74  ·  view source on GitHub ↗

* Get current Block instance * * @returns {Block}

()

Source from the content-addressed store, hash-verified

70 * @returns {Block}
71 */
72 public get currentBlock(): Block | undefined {
73 return this._blocks[this.currentBlockIndex];
74 }
75
76 /**
77 * Set passed Block as a current

Callers

nothing calls this directly

Calls 1

getBlockIndexMethod · 0.95

Tested by

no test coverage detected