Skip to content

Commit 856f58c

Browse files
authored
Merge pull request electron#228 from electron/selectable-paths
Make pdf/screenshot paths selectable
2 parents c3271ae + ddd746c commit 856f58c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sections/media/desktop-capturer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h3>The <code>desktopCapturer</code> module in Electron can be used to access an
2020
<div class="demo-box">
2121
<div class="demo-controls">
2222
<button class="demo-button" id="screen-shot">View Demo</button>
23-
<span class="demo-response" id="screenshot-path"></span>
23+
<span class="demo-response is-selectable" id="screenshot-path"></span>
2424
</div>
2525
<p>This demo uses the <code>desktopCapturer</code> module to gather screens in use and select the entire screen and take a snapshot of what is visible.</p>
2626
<p>Clicking the demo button will take a screenshot of your current screen and open it in your default viewer.</p>

sections/media/pdf.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h3>The <code>browser window</code> module in Electron has a property, <code>web
2020
<div class="demo-box">
2121
<div class="demo-controls">
2222
<button class="demo-button" id="print-pdf">View Demo</button>
23-
<span class="demo-response" id="pdf-path"></span>
23+
<span class="demo-response is-selectable" id="pdf-path"></span>
2424
</div>
2525
<p>To demonstrate the print to PDF functionality, the demo button above will save this page as a PDF and, if you have a PDF viewer, open the file.</p>
2626
<p>In a real-world application you're more likely to add this to application menu, but for the purposes of the demo we've set it to the demo button.</p>

0 commit comments

Comments
 (0)