| 1287 | // Remove and re-add the controlText text |
| 1288 | |
| 1289 | function LineEditor(line) { |
| 1290 | if (line.includes("</>")) { |
| 1291 | line = line.split("</>"); |
| 1292 | controlTextElmt.appendChild(document.createTextNode(line[0] + "⠀⠀⠀⠀⠀⠀⠀⠀⠀" + line[1])); |
| 1293 | } else if (line.includes("<-->")) { |
| 1294 | // Line elmt |
| 1295 | } else { |
| 1296 | controlTextElmt.appendChild(document.createTextNode(line)); |
| 1297 | } |
| 1298 | } |
| 1299 | |
| 1300 | const controlTextArray = panel.sign.controlText.split("\n"); |
| 1301 | for (let lineNum = 0, length = controlTextArray.length - 1; lineNum < length; lineNum++) { |