added gcode viewer in macros (maded it editable ),

This commit is contained in:
sanjayk03-dev
2024-01-04 21:41:55 +05:30
parent 55922dc189
commit 8d9a33d03c
4 changed files with 15 additions and 28 deletions

View File

@@ -72,7 +72,7 @@ module.exports = {
} else {
const lines = escapeHTML(text.trimRight())
.split(/[\r\n]/)
.map((line, i) => `<li class="ln${i + 1}"><b>${i + 1}</b>${line}</li>`);
.map((line, i) => `<li class="ln${i + 1}" contenteditable="true"><b>${i + 1}</b>${line}</li>`);
this.clusterize.update(lines);
}