MCPcopy
hub / github.com/basecamp/trix / getBlocks

Method getBlocks

src/trix/models/document.js:483–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 }
482
483 getBlocks() {
484 return this.blockList.toArray()
485 }
486
487 getBlockCount() {
488 return this.blockList.length

Callers 14

copyUsingObjectMapMethod · 0.95
locationFromPositionMethod · 0.95
getTextsMethod · 0.95
getObjectsMethod · 0.95
renderMethod · 0.80
mergeDocumentAtRangeMethod · 0.80
document.jsFile · 0.80
assertions.jsFile · 0.80
renderMethod · 0.80

Calls 1

toArrayMethod · 0.45

Tested by

no test coverage detected