Merge pull request #1911 from yoyomo/fix-copying-invisible-text
fix copying invisible text
This commit is contained in:
commit
3a24f10d7c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue