Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -152,6 +152,22 @@ 152 152 (% class="key" %)Meta(%%) + (% class="key" %)G 153 153 )))|Jump to any page in the wiki 154 154 155 +== Developer shortcuts == 156 + 157 +The following key sequences can be used to toggle specific actions on the current logged in user: 158 + 159 +(% class="keyboard" summary="Keyboard Shortcuts for developers" %) 160 +| (% class="shortcut" %) 161 +((( 162 +(% class="key" %)x(%%) (% class="key" %)x(%%) (% class="key" %)x(%%) (% class="key" %)a 163 +)))|Toggle advanced user mode for the current user. 164 + 165 +(% class="keyboard" summary="Keyboard Shortcuts for developers" %) 166 +| (% class="shortcut" %) 167 +((( 168 +(% class="key" %)x(%%) (% class="key" %)x(%%) (% class="key" %)x(%%) (% class="key" %)h 169 +)))|Toggle hidden pages for the current user. 170 + 155 155 = Configuring keyboard shortcuts = 156 156 157 157 == Modifying keyboard shortcuts == ... ... @@ -204,7 +204,7 @@ 204 204 205 205 Try the snippet by pressing (% class="key" %)**Ctrl**(%%) + (% class="key" %)**Alt**(%%) + (% class="key" %)**n**(%%). 206 206 207 -Also check the [[complete documentation>>http:// www.openjs.com/scripts/events/keyboard_shortcuts/]].223 +Also check the [[complete documentation>>https://dmauro.github.io/Keypress/]]. 208 208 209 209 == Removing keyboard shortcuts == 210 210 ... ... @@ -232,8 +232,8 @@ 232 232 {{code language="html"}} 233 233 <script type="text/javascript"> 234 234 //<![CDATA[ 235 - for (binding in shortcut.all_shortcuts) { 236 - shortcut.remove(binding); 251 + for (binding in shortcut.all_shortcuts()) { 252 + shortcut.remove(binding.keys.join(' ')); 237 237 } 238 238 //]]> 239 239 </script> ... ... @@ -258,4 +258,4 @@ 258 258 259 259 == Credits == 260 260 261 -XWiki keyboard shortcuts are powered by [[ openjs.comshortcut library>>http://www.openjs.com/scripts/events/keyboard_shortcuts/]].277 +XWiki keyboard shortcuts are powered by [[Keypress JS shortcut library>>https://dmauro.github.io/Keypress/]].