MCPcopy Create free account
hub / github.com/HubSpot/draft-convert / getEmptyChunk

Function getEmptyChunk

src/convertFromHTML.js:101–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99};
100
101function getEmptyChunk() {
102 return {
103 text: '',
104 inlines: [],
105 entities: [],
106 blocks: [],
107 };
108}
109
110function getWhitespaceChunk(inEntity) {
111 const entities = new Array(1);

Callers 1

genFragmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…