mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0511ac879f
commit
dc30fdfec5
@ -1365,14 +1365,17 @@ var Outline = {
|
||||
: this.focus('next') } },
|
||||
|
||||
Home: function(evt){
|
||||
if(this.get('edited')){
|
||||
if(this.get('edited')
|
||||
&& !evt.ctrlKey){
|
||||
return }
|
||||
evt.preventDefault()
|
||||
this.focus(0) },
|
||||
End: function(evt){
|
||||
if(this.get('edited')){
|
||||
if(this.get('edited')
|
||||
&& !evt.ctrlKey){
|
||||
return }
|
||||
evt.preventDefault()
|
||||
this.focus(-1) },
|
||||
|
||||
PageUp: function(evt){
|
||||
var edited = this.get('edited')
|
||||
if(!edited
|
||||
|
||||
@ -49,7 +49,7 @@ var setup = function(){
|
||||
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
||||
-
|
||||
- ## ToDo:
|
||||
- pgup/pgdown/home/end buttons
|
||||
- pgup/pgdown/~home/end~ buttons
|
||||
- identify a block (index, id, ...)
|
||||
- FEATURE: "crop" -- view block tree separately...
|
||||
- focus
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user