Skip to content

Commit 3fc036e

Browse files
author
armandocumate
committed
fi xcopying invisible text
1 parent 056a46c commit 3fc036e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/book.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function playground_text(playground) {
1111
let editor = window.ace.edit(code_block);
1212
return editor.getValue();
1313
} else {
14-
return code_block.textContent;
14+
return code_block.innerText;
1515
}
1616
}
1717

0 commit comments

Comments
 (0)