Change comment:
Document converted from syntax xwiki/1.0 to syntax xwiki/2.0
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 1.01 +XWiki 2.0 - Content
-
... ... @@ -1,138 +1,140 @@ 1 - 1XWiki Keyboard Shortcuts1 += XWiki Keyboard Shortcuts = 2 2 3 - #toc("" "" "")3 +{{toc start="" depth="" numbered=""/}} 4 4 5 -*Since XWiki Enterprise version 1.4M1*, you can use keyboard shortcuts to use some XWiki features. Keyboard shortcuts help you save time since you never have to take your hands off the keyboard to use the mouse. 5 +**Since XWiki Enterprise version 1.4M1**, you can use keyboard shortcuts to use some XWiki features. Keyboard shortcuts help you save time since you never have to take your hands off the keyboard to use the mouse. 6 6 7 - 1.1Shortcuts7 +== Shortcuts == 8 8 9 - 1.1.1View mode9 +=== View mode === 10 10 11 - #info("View keyboard shortcuts are only available to advanced users, preventing simple users to get unexpected behavior when pressing keyboard keys by mistake")11 +{{info}}View keyboard shortcuts are only available to advanced users, preventing simple users to get unexpected behavior when pressing keyboard keys by mistake{{/info}} 12 12 13 - 1.1.1.1Edit13 +==== Edit ==== 14 14 15 +{{velocity filter="none"}} 16 +{{html clean="false" wiki="true"}} 15 15 </table> 16 16 <table style="width:400px;"> 17 17 <tr> 18 -<td>*e*</td> 20 +<td>**e**</td> 19 19 <td>Edit the page using the default edition mode</td> 20 20 </tr> 21 21 <tr> 22 -<td>*k*</td> 24 +<td>**k**</td> 23 23 <td>Edit the page in wiki edition mode</td> 24 24 </tr> 25 25 <tr> 26 -<td>*g*</td> 28 +<td>**g**</td> 27 27 <td>Edit the page using the WYSIWYG editor</td> 28 28 </tr> 29 29 <tr> 30 -<td>*f*</td> 32 +<td>**f**</td> 31 31 <td>Inline Form</td> 32 32 </tr> 33 33 <tr> 34 -<td>*r*</td> 36 +<td>**r**</td> 35 35 <td>Edit page access rights</td> 36 36 </tr> 37 37 <tr> 38 -<td>*o*</td> 40 +<td>**o**</td> 39 39 <td>Edit page objects</td> 40 40 </tr> 41 41 <tr> 42 -<td>*s*</td> 44 +<td>**s**</td> 43 43 <td>Edit class</td> 44 44 </tr> 45 45 </table> 46 46 47 - 1.1.1.1Show49 +==== Show ==== 48 48 49 49 <table style="width:400px;"> 50 50 <tr> 51 -<td>*c*</td> 53 +<td>**c**</td> 52 52 <td>Go to page comments</td> 53 53 </tr> 54 54 <tr> 55 -<td>*a*</td> 57 +<td>**a**</td> 56 56 <td>Go to page attachments</td> 57 57 </tr> 58 58 <tr> 59 -<td>*h*</td> 61 +<td>**h**</td> 60 60 <td>Go to page history</td> 61 61 </tr> 62 62 <tr> 63 -<td>*d*</td> 65 +<td>**d**</td> 64 64 <td>View page wiki code</td> 65 65 </tr> 66 66 </table> 67 67 68 - 1.1.1.1Actions70 +==== Actions ==== 69 69 70 70 <table style="width:400px;"> 71 71 <tr> 72 -<td>*F2*</td> 74 +<td>**F2**</td> 73 73 <td>Rename page</td> 74 74 </tr> 75 75 <tr> 76 -<td>*Delete*</td> 78 +<td>**Delete**</td> 77 77 <td>Delete page</td> 78 78 </tr> 79 79 </table> 80 80 81 - 1.1.1Edit & inline mode83 +=== Edit & inline mode === 82 82 83 - #warning("Keyboard shortcuts aren't available from the wysiwyg edit mode (since the wysiwyg editor grabs all the key pressed events)")84 - 85 +{{warning}}Keyboard shortcuts aren't available from the wysiwyg edit mode (since the wysiwyg editor grabs all the key pressed events){{/warning}} 86 +<p/> 85 85 <table style="width:400px;"> 86 86 <tr> 87 -<td>*<Alt> + c*</td> 89 +<td>**<Alt> + c**</td> 88 88 <td>Cancel edition</td> 89 89 </tr> 90 90 <tr> 91 -<td>*<Alt> + p*</td> 93 +<td>**<Alt> + p**</td> 92 92 <td>Preview the page without saving</td> 93 93 </tr> 94 94 <tr> 95 -<td>*<Alt> + <Shift> + s*</td> 97 +<td>**<Alt> + <Shift> + s**</td> 96 96 <td>Save and continue to edit the page</td> 97 97 </tr> 98 98 <tr> 99 -<td>*<Alt> + s*</td> 101 +<td>**<Alt> + s**</td> 100 100 <td>Save and view the page</td> 101 101 </tr> 102 102 </table> 103 103 104 - 1.1.1Preview mode106 +=== Preview mode === 105 105 106 106 <table style="width:400px;"> 107 107 <tr> 108 -<td>*<Alt> + c*</td> 110 +<td>**<Alt> + c**</td> 109 109 <td>cancel edition</td> 110 110 </tr> 111 111 <tr> 112 -<td>*<Alt> + b*</td> 114 +<td>**<Alt> + b**</td> 113 113 <td>Back to the edition</td> 114 114 </tr> 115 115 <tr> 116 -<td>*<Alt> + Shift> + s*</td> 118 +<td>**<Alt> + Shift> + s**</td> 117 117 <td>Save and continue to edit the page</td> 118 118 </tr> 119 119 <tr> 120 -<td>*<Alt> + s*</td> 122 +<td>**<Alt> + s**</td> 121 121 <td>Save and view the page</td> 122 122 </tr> 123 123 </table> 124 124 125 - 1.1Adding your own shortcuts127 +== Adding your own shortcuts == 126 126 127 127 You can add your own keyboard shortcuts in a few javascript lines : 128 128 129 -{code :javascript}131 +{{code language="javascript"}} 130 130 <script type="text/javascript"> 131 131 //<![CDATA[ 132 132 shortcut.add("Ctrl+Alt+Shift+N", function() { alert("Hey there! Congratulations on typing this one ;)"); }); 133 133 //]]> 134 134 </script> 135 -{code} 137 +{{/code}} 136 136 137 137 ## commented since XWiki.org version < 1.4 138 138 #* ... ... @@ -143,20 +143,20 @@ 143 143 {/pre} 144 144 Try the snippet by pressing Ctrl+Alt+N. 145 145 *# 148 +<p/> 149 +[[Complete documentation>>http://www.openjs.com/scripts/events/keyboard_shortcuts/]]. 146 146 147 - [Completedocumentation>http://www.openjs.com/scripts/events/keyboard_shortcuts/].151 +== Removing shortcuts == 148 148 149 -1.1 Removing shortcuts 150 - 151 151 To remove a shortcut adapt this snippet to your needs : 152 152 153 -{code :javascript}155 +{{code language="javascript"}} 154 154 <script type="text/javascript"> 155 155 //<![CDATA[ 156 156 shortcut.remove("Ctrl+Alt+Shift+N"); 157 157 //]]> 158 158 </script> 159 -{code} 161 +{{/code}} 160 160 161 161 ## commented since XWiki.org version < 1.4 162 162 #* ... ... @@ -170,14 +170,13 @@ 170 170 171 171 <a onclick="removeCtrlAltShiftN();">Click here to try the snippet, will remove the Ctrl+Alt+Shift+N shortcut</a>. 172 172 *# 175 +{{/html}} 176 +{{/velocity}} 173 173 174 - 1.1i18n178 +== i18n == 175 175 176 176 All the core XWiki shortcuts can be modified in the xwiki-core application resources (core.shortcuts.*) 177 177 178 - 1.1Credits182 +== Credits == 179 179 180 -XWiki keyboard shortcuts are powered by [openjs.org shortcut library>http://www.openjs.com/scripts/events/keyboard_shortcuts/]. 181 - 182 - 183 - 184 +XWiki keyboard shortcuts are powered by [[openjs.org shortcut library>>http://www.openjs.com/scripts/events/keyboard_shortcuts/]].