fi xcopying invisible text

This commit is contained in:
armandocumate 2022-10-14 16:53:59 -07:00
parent 056a46cc97
commit 3fc036e01a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ function playground_text(playground) {
let editor = window.ace.edit(code_block); let editor = window.ace.edit(code_block);
return editor.getValue(); return editor.getValue();
} else { } else {
return code_block.textContent; return code_block.innerText;
} }
} }