Changes for page XWiki Keyboard Shortcuts

Last modified by Lucas Charpentier (Sereza7) on 2024/02/27

<
From version < 7.3 >
edited by Silvia Macovei
on 2010/03/05
To version < 9.1 >
edited by Thomas Mortagne
on 2010/06/12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.SilviaRusu
1 +XWiki.ThomasMortagne
Content
... ... @@ -1,4 +1,6 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
1 +{{box cssClass="floatinginfobox" title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
2 2  
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  
... ... @@ -6,11 +6,13 @@
6 6  
7 7  == View mode ==
8 8  
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}}
11 +{{info}}
12 +View keyboard shortcuts are only available to advanced users, preventing simple users to get unexpected behavior when pressing keyboard keys by mistake
13 +{{/info}}
10 10  
11 11  === Edit ===
12 12  
13 -(% style="width:400px;"%)
17 +(% style="width:400px;" %)
14 14  |**e** |Edit the page using the default edition mode
15 15  |**k** |Edit the page in wiki edition mode
16 16  |**g** |Edit the page using the WYSIWYG editor
... ... @@ -19,9 +19,9 @@
19 19  |**o** |Edit page objects
20 20  |**s** |Edit class
21 21  
22 -=== Show ===
26 +=== Show ===
23 23  
24 -(% style="width:400px;"%)
28 +(% style="width:400px;" %)
25 25  |**c** |Go to page comments
26 26  |**a** |Go to page attachments
27 27  |**h** |Go to page history
... ... @@ -29,14 +29,17 @@
29 29  
30 30  === Actions ===
31 31  
32 -(% style="width:400px;"%)
36 +(% style="width:400px;" %)
33 33  |**F2** |Rename page
34 34  |**Delete** |Delete page
35 35  
36 36  == Edit & inline mode ==
37 37  
38 -{{warning}}Keyboard shortcuts aren't available from the wysiwyg edit mode (since the wysiwyg editor grabs all the key pressed events){{/warning}}
39 -(% style="width:400px;"%)
42 +{{warning}}
43 +Keyboard shortcuts aren't available from the wysiwyg edit mode (since the wysiwyg editor grabs all the key pressed events)
44 +{{/warning}}
45 +
46 +(% style="width:400px;" %)
40 40  |**<Alt> + c** |Cancel edition
41 41  |**<Alt> + p** |Preview the page without saving
42 42  |**<Alt> + <Shift> + s** |Save and continue to edit the page
... ... @@ -44,7 +44,7 @@
44 44  
45 45  == Preview mode ==
46 46  
47 -(% style="width:400px;"%)
54 +(% style="width:400px;" %)
48 48  |**<Alt> + c** |Cancel edition
49 49  |**<Alt> + b** |Back to the edition
50 50  |**<Alt> + <Shift> + s** |Save and continue to edit the page
... ... @@ -53,8 +53,7 @@
53 53  = 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 -{{code}}
57 -core.shortcuts.view.edit=e
63 +{{code}}core.shortcuts.view.edit=e
58 58  core.shortcuts.view.wiki=k
59 59  core.shortcuts.view.wysiwyg=g
60 60  core.shortcuts.view.inline=f
... ... @@ -72,8 +72,7 @@
72 72  core.shortcuts.edit.backtoedit=Alt+B
73 73  core.shortcuts.edit.preview=Alt+P
74 74  core.shortcuts.edit.saveandcontinue=Alt+Shift+S
75 -core.shortcuts.edit.saveandview=Alt+S
76 -{{/code}}
81 +core.shortcuts.edit.saveandview=Alt+S{{/code}}
77 77  * Modify entries in this list at your convenience
78 78  * Save the page
79 79  * Go to the wiki administration into the "//Programming//" category
... ... @@ -83,7 +83,7 @@
83 83  
84 84  You can add your own keyboard shortcuts in a few javascript lines :
85 85  
86 -{{code language="javascript"}}
91 +{{code language="html"}}
87 87  <script type="text/javascript">
88 88  //<![CDATA[
89 89   shortcut.add("Ctrl+Alt+n", function() { alert("Hey there! Congratulations on typing this one ;)"); });
... ... @@ -105,7 +105,7 @@
105 105  
106 106  To remove a shortcut adapt this snippet to your needs :
107 107  
108 -{{code language="javascript"}}
113 +{{code language="html"}}
109 109  <script type="text/javascript">
110 110  //<![CDATA[
111 111   shortcut.remove("Ctrl+Alt+n");

Get Connected