mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 08:31:38 +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') } },
|
: this.focus('next') } },
|
||||||
|
|
||||||
Home: function(evt){
|
Home: function(evt){
|
||||||
if(this.get('edited')){
|
if(this.get('edited')
|
||||||
|
&& !evt.ctrlKey){
|
||||||
return }
|
return }
|
||||||
|
evt.preventDefault()
|
||||||
this.focus(0) },
|
this.focus(0) },
|
||||||
End: function(evt){
|
End: function(evt){
|
||||||
if(this.get('edited')){
|
if(this.get('edited')
|
||||||
|
&& !evt.ctrlKey){
|
||||||
return }
|
return }
|
||||||
|
evt.preventDefault()
|
||||||
this.focus(-1) },
|
this.focus(-1) },
|
||||||
|
|
||||||
PageUp: function(evt){
|
PageUp: function(evt){
|
||||||
var edited = this.get('edited')
|
var edited = this.get('edited')
|
||||||
if(!edited
|
if(!edited
|
||||||
|
|||||||
@ -49,7 +49,7 @@ var setup = function(){
|
|||||||
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
||||||
-
|
-
|
||||||
- ## ToDo:
|
- ## ToDo:
|
||||||
- pgup/pgdown/home/end buttons
|
- pgup/pgdown/~home/end~ buttons
|
||||||
- identify a block (index, id, ...)
|
- identify a block (index, id, ...)
|
||||||
- FEATURE: "crop" -- view block tree separately...
|
- FEATURE: "crop" -- view block tree separately...
|
||||||
- focus
|
- focus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user