Copy Codeblocks Theme Component

Multiple things:

  • doesn’t vendor a full clipboard lib
  • doesn’t rely on jQuery
  • doesn’t leak event listeners
  • doesn’t rely on multiple events
  • uses up to date coding standards
  • doesn’t have the quoting bug
  • …

Not sure if this is working correctly on mobile too.

15 Likes