Merge pull request #1911 from yoyomo/fix-copying-invisible-text

fix copying invisible text
This commit is contained in:
Dylan DPC 2022-10-15 11:37:46 +05:30 committed by GitHub
commit 3a24f10d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
return editor.getValue();
} else {
return code_block.textContent;
return code_block.innerText;
}
}