From 3fc036e01a3b79ef92e628bb16e63cfc64c0c809 Mon Sep 17 00:00:00 2001 From: armandocumate Date: Fri, 14 Oct 2022 16:53:59 -0700 Subject: [PATCH] fi xcopying invisible text --- src/theme/book.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/book.js b/src/theme/book.js index d40440c7..c8f52cc1 100644 --- a/src/theme/book.js +++ b/src/theme/book.js @@ -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; } }