Changes for page XWiki Keyboard Shortcuts
Last modified by Vincent Massol on 2020/10/21
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki Keyboard Shortcuts - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. SilviaRusu1 +XWiki.jvdrean - Content
-
... ... @@ -1,14 +1,16 @@ 1 - {{box cssClass="floatinginfobox"title="**Contents**"}}{{toc/}}{{/box}}1 += XWiki Keyboard Shortcuts = 2 2 3 +{{toc start=2 depth=6 numbered=false scope=page /}} 4 + 3 3 **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. 4 4 5 -= Shortcuts = 7 +== Shortcuts == 6 6 7 -== View mode == 9 +=== View mode === 8 8 9 9 {{info}}View keyboard shortcuts are only available to advanced users, preventing simple users to get unexpected behavior when pressing keyboard keys by mistake{{/info}} 10 10 11 -=== Edit === 13 +==== Edit ==== 12 12 13 13 (% style="width:400px;"%) 14 14 |**e** |Edit the page using the default edition mode ... ... @@ -19,7 +19,7 @@ 19 19 |**o** |Edit page objects 20 20 |**s** |Edit class 21 21 22 -=== Show === 24 +==== Show ==== 23 23 24 24 (% style="width:400px;"%) 25 25 |**c** |Go to page comments ... ... @@ -27,13 +27,13 @@ 27 27 |**h** |Go to page history 28 28 |**d** |View page wiki code 29 29 30 -=== Actions === 32 +==== Actions ==== 31 31 32 32 (% style="width:400px;"%) 33 33 |**F2** |Rename page 34 34 |**Delete** |Delete page 35 35 36 -== Edit & inline mode == 38 +=== Edit & inline mode === 37 37 38 38 {{warning}}Keyboard shortcuts aren't available from the wysiwyg edit mode (since the wysiwyg editor grabs all the key pressed events){{/warning}} 39 39 (% style="width:400px;"%) ... ... @@ -42,7 +42,7 @@ 42 42 |**<Alt> + <Shift> + s** |Save and continue to edit the page 43 43 |**<Alt> + s** |Save and view the page 44 44 45 -== Preview mode == 47 +=== Preview mode === 46 46 47 47 (% style="width:400px;"%) 48 48 |**<Alt> + c** |Cancel edition ... ... @@ -50,7 +50,7 @@ 50 50 |**<Alt> + <Shift> + s** |Save and continue to edit the page 51 51 |**<Alt> + s** |Save and view the page 52 52 53 -= Modifying keyboard shortcuts = 55 +== Modifying keyboard shortcuts == 54 54 55 55 * Create a new page in your wiki, for example //XWiki.KeyboardShortcuts// and paste the following content inside: 56 56 {{code}} ... ... @@ -79,7 +79,7 @@ 79 79 * Go to the wiki administration into the "//Programming//" category 80 80 * At the bottom, add //XWiki.KeyboardShortcuts// to the "//Internationalization Document Bundles//" list 81 81 82 -= Adding your own shortcuts = 84 +== Adding your own shortcuts == 83 83 84 84 You can add your own keyboard shortcuts in a few javascript lines : 85 85 ... ... @@ -101,7 +101,7 @@ 101 101 102 102 [[Complete documentation>>http://www.openjs.com/scripts/events/keyboard_shortcuts/]]. 103 103 104 -= Removing shortcuts = 106 +== Removing shortcuts == 105 105 106 106 To remove a shortcut adapt this snippet to your needs : 107 107 ... ... @@ -122,7 +122,7 @@ 122 122 <a onclick="removeCtrlAltN(); return false;" href="#">Click here to try the snippet, it will remove the Ctrl+Alt+n shortcut</a>. 123 123 {{/html}} 124 124 125 -= Removing all shortcuts at once = 127 +== Removing all shortcuts at once == 126 126 127 127 {{code language="javascript"}} 128 128 <script type="text/javascript"> ... ... @@ -149,8 +149,8 @@ 149 149 <a onclick="removeAll(); return false;" href="#">Click here to try the snippet, it will disable all keyboard shortcuts</a>. 150 150 {{/html}} 151 151 #end 152 -{{ /velocity}}154 +{{velocity}} 153 153 154 -= Credits = 156 +== Credits == 155 155 156 -XWiki keyboard shortcuts are powered by [[openjs.org shortcut library>>http://www.openjs.com/scripts/events/keyboard_shortcuts]]. 158 +XWiki keyboard shortcuts are powered by [[openjs.org shortcut library>>http://www.openjs.com/scripts/events/keyboard_shortcuts/]].