mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-25 12:21:58 +00:00
Compare commits
No commits in common. "360103bee382ddb4da91a0686458acd20f43dd79" and "99f1de520fb7494f1bbe2ff0bb2eeacd8bb5d69b" have entirely different histories.
360103bee3
...
99f1de520f
@ -259,9 +259,8 @@ editor .outline .block:focus {
|
|||||||
content: "●";
|
content: "●";
|
||||||
}
|
}
|
||||||
|
|
||||||
/* select... */
|
|
||||||
/* XXX are we selecting subtrees or blocks??? */
|
/* XXX are we selecting subtrees or blocks??? */
|
||||||
.editor .outline [selected]>.text {
|
.editor .outline [selected] {
|
||||||
background: silver;
|
background: silver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1645,6 +1645,7 @@ var Outline = {
|
|||||||
} else {
|
} else {
|
||||||
evt.preventDefault()
|
evt.preventDefault()
|
||||||
this.focus('focused', 1) } },
|
this.focus('focused', 1) } },
|
||||||
|
|
||||||
// horizontal navigation / collapse...
|
// horizontal navigation / collapse...
|
||||||
ArrowLeft: function(evt){
|
ArrowLeft: function(evt){
|
||||||
var edited = this.get('edited')
|
var edited = this.get('edited')
|
||||||
@ -1861,28 +1862,6 @@ var Outline = {
|
|||||||
evt.preventDefault()
|
evt.preventDefault()
|
||||||
tasks.toggleDone(this) },
|
tasks.toggleDone(this) },
|
||||||
|
|
||||||
// selection...
|
|
||||||
// XXX need more work...
|
|
||||||
// - should we select the .block or .text???
|
|
||||||
// - we should remember the first state and apply it (a-la FAR)
|
|
||||||
// and not simply toggle on/off per node...
|
|
||||||
s_ArrowUp: function(evt){
|
|
||||||
if(this.get('edited')){
|
|
||||||
return }
|
|
||||||
var elem = this.get()
|
|
||||||
elem.hasAttribute('selected') ?
|
|
||||||
elem.removeAttribute('selected')
|
|
||||||
: elem.setAttribute('selected', '')
|
|
||||||
this.keyboard.ArrowUp.call(this, evt) },
|
|
||||||
s_ArrowDown: function(evt){
|
|
||||||
if(this.get('edited')){
|
|
||||||
return }
|
|
||||||
var elem = this.get()
|
|
||||||
elem.hasAttribute('selected') ?
|
|
||||||
elem.removeAttribute('selected')
|
|
||||||
: elem.setAttribute('selected', '')
|
|
||||||
this.keyboard.ArrowDown.call(this, evt) },
|
|
||||||
|
|
||||||
// toggle checkbox...
|
// toggle checkbox...
|
||||||
' ': function(evt){
|
' ': function(evt){
|
||||||
if(this.get('edited') != null){
|
if(this.get('edited') != null){
|
||||||
|
|||||||
@ -49,11 +49,6 @@ var setup = function(){
|
|||||||
- ## Bugs:
|
- ## Bugs:
|
||||||
focused:: true
|
focused:: true
|
||||||
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
- BUG: mobile browsers behave quite chaotically ignoring parts of the styling...
|
||||||
- FF:
|
|
||||||
- zooming on edited field
|
|
||||||
- normal textarea is not sized correctly
|
|
||||||
- General:
|
|
||||||
- side margins are a bit too large (account for toolbat to the right)
|
|
||||||
-
|
-
|
||||||
- ## ToDo:
|
- ## ToDo:
|
||||||
- selection / multiple node selection (via shift+motion)
|
- selection / multiple node selection (via shift+motion)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user