MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / addText

Function addText

lib/web/CodeMirror/src/input/ContentEditableInput.js:429–434  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

427 }
428 }
429 function addText(str) {
430 if (str) {
431 close()
432 text += str
433 }
434 }
435 function walk(node) {
436 if (node.nodeType == 1) {
437 let cmText = node.getAttribute("cm-text")

Callers 1

walkFunction · 0.70

Calls 1

closeFunction · 0.70

Tested by

no test coverage detected