Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/basecamp/trix
/ getDocument
Method
getDocument
src/trix/models/editor.js:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
getDocument() {
38
return
this.composition.document
39
}
40
41
getSelectedDocument() {
42
return
this.composition.getSelectedDocument()
Callers
11
getClientRectAtPosition
Method · 0.95
serialization.js
File · 0.45
loadHTML
Method · 0.45
insertHTML
Method · 0.45
replaceHTML
Method · 0.45
render
Method · 0.45
render
Method · 0.45
document_test.js
File · 0.45
html_parser_test.js
File · 0.45
assertions.js
File · 0.45
expectDocument
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected