mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-10-29 01:50:07 +00:00 
			
		
		
		
	home/end keys...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									477e5be961
								
							
						
					
					
						commit
						0511ac879f
					
				| @ -1364,6 +1364,15 @@ var Outline = { | ||||
| 					this.toggleCollapse(false) | ||||
| 					: this.focus('next') } }, | ||||
| 
 | ||||
| 		Home: function(evt){ | ||||
| 			if(this.get('edited')){ | ||||
| 				return } | ||||
| 			this.focus(0) }, | ||||
| 		End: function(evt){ | ||||
| 			if(this.get('edited')){ | ||||
| 				return } | ||||
| 			this.focus(-1) }, | ||||
| 
 | ||||
| 		PageUp: function(evt){ | ||||
| 			var edited = this.get('edited') | ||||
| 			if(!edited  | ||||
| @ -1379,7 +1388,7 @@ var Outline = { | ||||
| 				evt.preventDefault() | ||||
| 				this.shift('down') } }, | ||||
| 
 | ||||
| 		// indent...
 | ||||
| 		// indent..
 | ||||
| 		Tab: function(evt){ | ||||
| 			evt.preventDefault() | ||||
| 			var edited = this.get('edited') | ||||
|  | ||||
| @ -45,10 +45,10 @@ var setup = function(){ | ||||
|   -  | ||||
| - ## Bugs: | ||||
|   - BUG: editor: FF seems to update the style every other key press -- should be live... | ||||
|   - BUG: scrolling into view needs tuning... | ||||
|   - BUG: mobile browsers behave quite chaotically ignoring parts of the styling... | ||||
|   - | ||||
| - ## ToDo: | ||||
|   - ASAP: scroll into view is bad... | ||||
|   - ASAP: mobile browsers behave quite chaotically ignoring parts of the styling... | ||||
|   - pgup/pgdown/home/end buttons | ||||
|   - identify a block (index, id, ...) | ||||
|   - FEATURE: "crop" -- view block tree separately... | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user