Platforms to show: All Mac Windows Linux Cross-Platform
Answer:
How to quickly copy styled text from one textarea to another?
The code above uses special plugin functions on Mac and Windows and falls back to framework for Linux.