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

Method render

src/inspector/views/selection_view.js:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 render() {
17 this.document = this.editor.getDocument()
18 this.range = this.editor.getSelectedRange()
19 this.locationRange = this.composition.getLocationRange()
20 this.characters = this.getCharacters()
21 return super.render(...arguments)
22 }
23
24 getCharacters() {
25 const chars = []

Callers 1

SelectionViewClass · 0.95

Calls 4

getCharactersMethod · 0.95
getDocumentMethod · 0.45
getSelectedRangeMethod · 0.45
getLocationRangeMethod · 0.45

Tested by

no test coverage detected