jperasmus / docsify-copy-code

A docsify plugin that copies Markdown code block to your clipboard
MIT License
100 stars 73 forks source link

Deprecation warning in Chrome #2

Closed jhildenbiddle closed 6 years ago

jhildenbiddle commented 6 years ago

The following warning appears in the console after the copy code button is clicked:

[Deprecation] The behavior that Selection.addRange() merges existing Range and the specified Range was removed. See https://www.chromestatus.com/features/6680566019653632 for more details.

Fixed by #3