tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-10-23 00:14:47 +03:00
parent 0511ac879f
commit dc30fdfec5
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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