* docs: add clipboard paste Fiddle example * docs: add clipboard copy Fiddle example * docs: add appropriate title to Fiddles Co-Authored-By: John Kleinschmidt <jkleinsc@github.com>
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			568 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			568 B
			
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
  <head>
 | 
						|
    <meta charset="UTF-8">
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <div>
 | 
						|
      <div>
 | 
						|
        <h1>Clipboard paste</h1>
 | 
						|
        <i>Supports: Win, macOS, Linux <span>|</span> Process: Both</i>
 | 
						|
        <div>
 | 
						|
          <div>
 | 
						|
            <button id="paste-to">Paste</button>
 | 
						|
            <span id="paste-from"></span>
 | 
						|
          </div>
 | 
						|
          <p>In this example we copy a string to the clipboard and then paste the results into a message above.</p>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </body>
 | 
						|
  <script>
 | 
						|
    require('./renderer.js')
 | 
						|
  </script>
 | 
						|
</html>
 |