<
From version < 12.3 >
edited by Vincent Massol
on 2011/01/27
To version < 12.4 >
edited by Sorin Burjan
on 2011/03/31
>
Change comment: updated some confusing warning.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.Sorin
Content
... ... @@ -1,4 +1,6 @@
1 -{{velocity}}$xwiki.ssx.use("Features.KeyboardShortcuts"){{/velocity}}
1 +{{velocity}}
2 +$xwiki.ssx.use("Features.KeyboardShortcuts")
3 +{{/velocity}}
2 2  
3 3  {{box cssClass="floatinginfobox" title="**Contents**"}}
4 4  {{toc/}}
... ... @@ -16,40 +16,91 @@
16 16  
17 17  === a) Edit Actions ===
18 18  
19 -(% class="keyboard" summary="Keyboard Shortcuts for View Mode in order to activate edit actions"%)
20 -| (% class="shortcut" %)((((% class="key"%)E(%%))))(%%) |Edit the page using the default edition mode
21 -| (% class="shortcut" %)((((% class="key"%)K(%%))))(%%) |Edit the page in wiki edition mode
22 -| (% class="shortcut" %)((((% class="key"%)G(%%))))(%%) |Edit the page using the WYSIWYG editor
23 -| (% class="shortcut" %)((((% class="key"%)F(%%))))(%%) |Inline Form
24 -| (% class="shortcut" %)((((% class="key"%)R(%%))))(%%) |Edit page access rights
25 -| (% class="shortcut" %)((((% class="key"%)O(%%))))(%%) |Edit page objects
26 -| (% class="shortcut" %)((((% class="key"%)S(%%))))(%%) |Edit class
21 +(% class="keyboard" summary="Keyboard Shortcuts for View Mode in order to activate edit actions" %)
22 +| (% class="shortcut" %)
23 +(((
24 +(% class="key" %)E
25 +))) |Edit the page using the default edition mode
26 +| (% class="shortcut" %)
27 +(((
28 +(% class="key" %)K
29 +))) |Edit the page in wiki edition mode
30 +| (% class="shortcut" %)
31 +(((
32 +(% class="key" %)G
33 +))) |Edit the page using the WYSIWYG editor
34 +| (% class="shortcut" %)
35 +(((
36 +(% class="key" %)F
37 +))) |Inline Form
38 +| (% class="shortcut" %)
39 +(((
40 +(% class="key" %)R
41 +))) |Edit page access rights
42 +| (% class="shortcut" %)
43 +(((
44 +(% class="key" %)O
45 +))) |Edit page objects
46 +| (% class="shortcut" %)
47 +(((
48 +(% class="key" %)S
49 +))) |Edit class
27 27  
28 28  === b) View Actions ===
29 29  
30 -(% class="keyboard" summary="Keyboard Shortcuts for View Mode in order to activate view actions"%)
31 -| (% class="shortcut" %)((((% class="key"%)C(%%))))(%%) |Go to page comments
32 -| (% class="shortcut" %)((((% class="key"%)A(%%))))(%%) |Go to page attachments
33 -| (% class="shortcut" %)((((% class="key"%)H(%%))))(%%) |Go to page history
34 -| (% class="shortcut" %)((((% class="key"%)D(%%))))(%%) |View page wiki code
53 +(% class="keyboard" summary="Keyboard Shortcuts for View Mode in order to activate view actions" %)
54 +| (% class="shortcut" %)
55 +(((
56 +(% class="key" %)C
57 +))) |Go to page comments
58 +| (% class="shortcut" %)
59 +(((
60 +(% class="key" %)A
61 +))) |Go to page attachments
62 +| (% class="shortcut" %)
63 +(((
64 +(% class="key" %)H
65 +))) |Go to page history
66 +| (% class="shortcut" %)
67 +(((
68 +(% class="key" %)D
69 +))) |View page wiki code
35 35  
36 36  === c) Other Actions ===
37 37  
38 -(% class="keyboard" summary="Keyboard Shortcuts for View Mode in order to activate other actions"%)
39 -| (% class="shortcut" %)((((% class="key"%)F2(%%))))(%%) |Rename page
40 -| (% class="shortcut" %)((((% class="key"%)Delete(%%))))(%%) |Delete page
73 +(% class="keyboard" summary="Keyboard Shortcuts for View Mode in order to activate other actions" %)
74 +| (% class="shortcut" %)
75 +(((
76 +(% class="key" %)F2
77 +))) |Rename page
78 +| (% class="shortcut" %)
79 +(((
80 +(% class="key" %)Delete
81 +))) |Delete page
41 41  
42 42  == Edit Wiki & Edit Inline Mode ==
43 43  
44 44  {{warning}}
45 -Keyboard shortcuts aren't available from the wysiwyg edit mode (since the wysiwyg editor grabs all the key pressed events)
86 +While in Inline Edit mode and focusing on a WYSIWYG edit area, the keyboard shortcuts listed below won't work since the WYSIWYG editor grabs all the key pressed events.
46 46  {{/warning}}
47 47  
48 48  (% class="keyboard" summary="Keyboard Shortcuts for Edit Wiki and Inline Mode" %)
49 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)C(%%))))(%%) |Cancel edition
50 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)P(%%))))(%%) |Preview the page without saving
51 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)Shift(%%) + (% class="key"%)S(%%))))(%%) |Save and continue to edit the page
52 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)S(%%))))(%%) |Save and view the page
90 +| (% class="shortcut" %)
91 +(((
92 +(% class="key" %)Alt(%%) + (% class="key" %)C
93 +)))|Cancel edition
94 +| (% class="shortcut" %)
95 +(((
96 +(% class="key" %)Alt(%%) + (% class="key" %)P
97 +)))|Preview the page without saving
98 +| (% class="shortcut" %)
99 +(((
100 +(% class="key" %)Alt(%%) + (% class="key" %)Shift(%%) + (% class="key" %)S
101 +)))|Save and continue to edit the page
102 +| (% class="shortcut" %)
103 +(((
104 +(% class="key" %)Alt(%%) + (% class="key" %)S
105 +)))|Save and view the page
53 53  
54 54  == Edit WYSIWYG Mode ==
55 55  
... ... @@ -58,20 +58,41 @@
58 58  == Preview Mode ==
59 59  
60 60  (% class="keyboard" summary="Keyboard Shortcuts for Preview Mode" %)
61 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)C(%%))))(%%) |Cancel edition
62 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)B(%%))))(%%) |Back to the edition
63 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)Shift(%%) + (% class="key"%)S(%%))))(%%) |Save and continue to edit the page
64 -| (% class="shortcut" %)((((% class="key"%)Alt(%%) + (% class="key"%)S(%%))))(%%) |Save and view the page
114 +| (% class="shortcut" %)
115 +(((
116 +(% class="key" %)Alt(%%) + (% class="key" %)C
117 +))) |Cancel edition
118 +| (% class="shortcut" %)
119 +(((
120 +(% class="key" %)Alt(%%) + (% class="key" %)B
121 +))) |Back to the edition
122 +| (% class="shortcut" %)
123 +(((
124 +(% class="key" %)Alt(%%) + (% class="key" %)Shift(%%) + (% class="key" %)S
125 +))) |Save and continue to edit the page
126 +| (% class="shortcut" %)
127 +(((
128 +(% class="key" %)Alt(%%) + (% class="key" %)S
129 +))) |Save and view the page
65 65  
66 66  == Annotations ==
67 67  
68 68  (% class="keyboard" summary="Keyboard Shortcuts for Annotations" %)
69 -| (% class="shortcut" %)((((% class="key"%)Ctrl(%%) + (% class="key"%)M(%%))))(%%) |Annotate a piece of text
134 +| (% class="shortcut" %)
135 +(((
136 +(% class="key" %)Ctrl(%%) + (% class="key" %)M
137 +))) |Annotate a piece of text
70 70  
71 71  == Navigation ==
72 72  
73 73  (% class="keyboard" summary="Keyboard Shortcuts for Navigation" %)
74 -| (% class="shortcut" %)((((% class="key"%)Ctrl(%%) + (% class="key"%)G(%%))))(%%) (% class="separator"%)or(%%) (% class="shortcut" %)((((% class="key"%)Meta(%%) + (% class="key"%)G(%%))))(%%)|Jump to any page in the wiki
142 +| (% class="shortcut" %)
143 +(((
144 +(% class="key" %)Ctrl(%%) + (% class="key" %)G
145 +))) (% class="separator" %)or(%%) (% class="shortcut" %)
146 +(((
147 +(% class="key" %)Meta(%%) + (% class="key" %)G
148 +)))|Jump to any page in the wiki
75 75  
76 76  = Configuring keyboard shortcuts =
77 77  
... ... @@ -78,7 +78,8 @@
78 78  == Modifying keyboard shortcuts ==
79 79  
80 80  * Create a new page in your wiki, for example //XWiki.KeyboardShortcuts// and paste the following content inside:(((
81 -{{code}}core.shortcuts.view.edit=e
155 +{{code}}
156 +core.shortcuts.view.edit=e
82 82  core.shortcuts.view.wiki=k
83 83  core.shortcuts.view.wysiwyg=g
84 84  core.shortcuts.view.inline=f
... ... @@ -96,7 +96,9 @@
96 96  core.shortcuts.edit.backtoedit=Alt+B
97 97  core.shortcuts.edit.preview=Alt+P
98 98  core.shortcuts.edit.saveandcontinue=Alt+Shift+S
99 -core.shortcuts.edit.saveandview=Alt+S{{/code}})))
174 +core.shortcuts.edit.saveandview=Alt+S
175 +{{/code}}
176 +)))
100 100  * Modify entries in this list at your convenience
101 101  * Save the page
102 102  * Go to the wiki administration into the "//Programming//" category
... ... @@ -120,7 +120,7 @@
120 120  </script>
121 121  {{/html}}
122 122  
123 -Try the snippet by pressing **(% class="key"%)Ctrl(%%)** + **(% class="key"%)Alt(%%)** + **(% class="key"%)n(%%)**.
200 +Try the snippet by pressing (% class="key" %)**Ctrl**(%%) + (% class="key" %)**Alt**(%%) + (% class="key" %)**n**(%%).
124 124  
125 125  Also check the [[complete documentation>>http://www.openjs.com/scripts/events/keyboard_shortcuts/]].
126 126  

Get Connected