Method
setCustomBox
(
stringToHTML: (arg1: string) => HTMLElement,
HTMLToString = MarkDown.gatherBoxText.bind(MarkDown),
)
Source from the content-addressed store, hash-verified
| 1106 | this.txt = boxText.split(""); |
| 1107 | box.append(this.makeHTML({keep: true})); |
| 1108 | const len = txti.length + txt.length; |
| 1109 | text = boxText; |
| 1110 | |
| 1111 | this.boxupdate(len, false, 0); |
| 1112 | } else { |
| 1113 | this.txt = txt.split(""); |
| 1114 | box.innerHTML = ""; |
| 1115 | box.append(this.makeHTML({keep: true})); |
| 1116 | text = txt; |
Tested by
no test coverage detected