WebEngage / gitbook-plugin-copy-code-button

gitbook-plugin-copy-code-button
Apache License 2.0
20 stars 13 forks source link

Added support for copying text in `<pre>` tags #2

Closed nagim closed 8 years ago

nagim commented 8 years ago

This should correct the Uncaught TypeError: Failed to execute 'selectNodeContents' on 'Range': parameter 1 is not of type 'Node'. error when trying to use the Copy button in other blocks (codeblocks escaping formatting, etc) in AsciiDoc.