src/cm/media/js/lib/flexible-js-formatting/clip.js
author ymh <ymh.work@gmail.com>
Fri, 14 Mar 2014 13:16:10 +0100
changeset 611 fa66f4bb1563
parent 0 40c8f766c9b8
permissions -rw-r--r--
add some more custom config and put every thing in comment in the custom.yaml template

if (window.clipboardData) {
    c = window.clipboardData.getData("Text");
    if (c) {
        document.write("<p>The contents of your clipboard:</p>");
        document.write("<blockquote>" + c + "</blockquote>");
    }
}