MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / addText

Function addText

static/libs/codemirror.js:9068–9073  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

9066 }
9067 }
9068 function addText(str) {
9069 if (str) {
9070 close();
9071 text += str;
9072 }
9073 }
9074 function walk(node) {
9075 if (node.nodeType == 1) {
9076 var cmText = node.getAttribute("cm-text");

Callers 1

walkFunction · 0.85

Calls 1

closeFunction · 0.85

Tested by

no test coverage detected