Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
copyUsingObjectMap
Method · 0.95
copyWithBaseBlockAttributes
Method · 0.95
findRangesForBlockAttribute
Method · 0.95
locationFromPosition
Method · 0.95
getTexts
Method · 0.95
getObjects
Method · 0.95
render
Method · 0.80
mergeDocumentAtRange
Method · 0.80
moveTextFromRangeToPosition
Method · 0.80
document.js
File · 0.80
assertions.js
File · 0.80
render
Method · 0.80
Calls
1
toArray
Method · 0.45
Tested by
no test coverage detected