aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/mdn/editor/edit_box/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/mdn/editor/edit_box/index.html')
-rw-r--r--files/zh-tw/mdn/editor/edit_box/index.html134
1 files changed, 134 insertions, 0 deletions
diff --git a/files/zh-tw/mdn/editor/edit_box/index.html b/files/zh-tw/mdn/editor/edit_box/index.html
new file mode 100644
index 0000000000..3c691a124b
--- /dev/null
+++ b/files/zh-tw/mdn/editor/edit_box/index.html
@@ -0,0 +1,134 @@
+---
+title: Edit box of the MDN editor
+slug: MDN/Editor/Edit_box
+translation_of: MDN/Editor/Keyboard_shortcuts
+---
+<div>{{MDNSidebar}}</div><p>The edit box is, of course, where you actually do your writing. Right-clicking in the editor box offers appropriate additional options depending on the context of your click: right-clicking in a table offers table-related options and right-clicking in a list offers list-related options, for example.</p>
+
+<p>By default, the editor uses its own contextual menu when you right-click on the editor. To access your browser's default contextual menu (such as to access the Firefox spell checker's list of suggested corrections), hold down the <kbd>Shift</kbd> or <kbd>Control</kbd> key (the <kbd>Command</kbd> key on Mac OS X) while clicking.</p>
+
+<h2 id="鍵盤快捷鍵">鍵盤快捷鍵</h2>
+
+<p>There are a number of convenient keyboard shortcuts available to help you avoid taking your hands off the keyboard while you work. The shortcuts are listed for Windows and Linux; on Mac, instead of using the <kbd>Control</kbd> key, you can use the <kbd>Command</kbd> key.</p>
+
+<table class="standard-table">
+ <colgroup>
+ <col style="width: 15em;">
+ </colgroup>
+ <tbody>
+ <tr>
+ <th>快捷鍵</th>
+ <th>說明</th>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>A</kbd></td>
+ <td>全選</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>C</kbd></td>
+ <td>複製到剪貼簿</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>V</kbd></td>
+ <td>從剪貼簿貼上</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>X</kbd></td>
+ <td>剪下</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>Z</kbd></td>
+ <td>回到上一步</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>Y</kbd></td>
+ <td>重置</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>K</kbd></td>
+ <td>開啟連結編輯器/新增連結</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd></td>
+ <td>移除連結游標位置。</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>B</kbd></td>
+ <td>粗體</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>I</kbd></td>
+ <td>斜體</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>O</kbd></td>
+ <td>切換 <code>&lt;code&gt;</code> 樣式。</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd></td>
+ <td>
+ <p>切換原始碼顯示模式。</p>
+
+ <div class="note">在原始碼模式下編輯時請小心,您需要遵守我們的內容標準。更多細節關於如何使用原始碼模式與使用之優缺點請參照<a href="/en-US/docs/MDN/Contribute/Editor/Source_mode">原始碼模式編輯教學</a>。</div>
+ </td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>P</kbd></td>
+ <td>切換 <code>&lt;pre&gt;</code> 樣式在當前區塊中的開啟與關閉。</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>U</kbd></td>
+ <td>底線。</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>S</kbd></td>
+ <td>儲存修改並關閉編輯器。</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>S</kbd></td>
+ <td>儲存修改但不要關閉編輯器。</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>0</kbd></td>
+ <td>Remove formatting from the selected area (That's a zero, not the letter "O").</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>2</kbd> through <kbd>Ctrl</kbd> + <kbd>6</kbd></td>
+ <td>Select heading level 2 through 6. Heading level 1 is reserved for the page title displayed at the top of the article.</td>
+ </tr>
+ <tr>
+ <td><kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd></td>
+ <td>Toggle from bulleted list to numbered list to and paragraph format</td>
+ </tr>
+ <tr>
+ <td><kbd>Tab</kbd></td>
+ <td>Increase indent level if in indent mode, otherwise inserts two spaces as a tab. Inside tables, this moves the cursor to the next cell, or inserts a new row if there is no next cell. If the cursor is currently in the page title or in a heading, the cursor jumps to the next paragraph.</td>
+ </tr>
+ <tr>
+ <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td>
+ <td>Decrease indent level if in indent mode. Inside tables, this jumps to the previous cell, or inserts a new row if there is no previous cell. If the cursor is currently in the page title or in a heading, the cursor jumps to the next paragraph.</td>
+ </tr>
+ <tr>
+ <td><kbd>Shift</kbd> + <kbd>Space</kbd></td>
+ <td>Insert a non-breaking space (<code>&amp;nbsp;</code>)</td>
+ </tr>
+ <tr>
+ <td><kbd>Shift</kbd> + <kbd>Enter</kbd></td>
+ <td>
+ <p>Exits out of the current block. For example, if you're currently editing a <code>&lt;pre&gt;</code> block, <kbd>Shift</kbd> + <kbd>Enter</kbd> exits the block, putting you back in the body of the article.</p>
+
+ <div class="note style-wrap">
+ <p>Not currently implemented; see {{bug(780055)}}.</p>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li><a href="/en-US/docs/MDN/Contribute/Editor/Basics">Editor UI elements</a></li>
+ <li><a href="/en-US/docs/MDN/Contribute">Contributing to MDN</a></li>
+ <li><a href="/en-US/docs/MDN/Getting_started">Getting started on MDN</a></li>
+</ul>