fi xcopying invisible text
This commit is contained in:
parent
056a46cc97
commit
3fc036e01a
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue