mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 10:00:08 +00:00
notes + experimenting...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
33862e6e70
commit
4401e03de2
@ -703,6 +703,9 @@
|
|||||||
&:focus {
|
&:focus {
|
||||||
background: rgba(0,0,0,0.07);
|
background: rgba(0,0,0,0.07);
|
||||||
}
|
}
|
||||||
|
&>.code:focus {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
&>.children {
|
&>.children {
|
||||||
display: table !important;
|
display: table !important;
|
||||||
@ -731,6 +734,9 @@
|
|||||||
&:focus {
|
&:focus {
|
||||||
background: rgba(0,0,0,0.07);
|
background: rgba(0,0,0,0.07);
|
||||||
}
|
}
|
||||||
|
&>.code:focus {
|
||||||
|
column-span: all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1944,12 +1944,10 @@ var Outline = {
|
|||||||
left: function(){},
|
left: function(){},
|
||||||
right: function(){},
|
right: function(){},
|
||||||
|
|
||||||
|
__overtravel_timeout: undefined,
|
||||||
|
__caret_x: undefined,
|
||||||
// XXX move the code here into methods/actions...
|
// XXX move the code here into methods/actions...
|
||||||
// XXX use keyboard.js...
|
// XXX use keyboard.js...
|
||||||
__overtravel_timeout: undefined,
|
|
||||||
// XXX this needs to be dropped on any edit keyboard input, not sure
|
|
||||||
// how to do this cleanly (including focus clicks)...
|
|
||||||
__caret_x: undefined,
|
|
||||||
keyboard: {
|
keyboard: {
|
||||||
// XXX might be a good feature to add to keyboard.js...
|
// XXX might be a good feature to add to keyboard.js...
|
||||||
// ...might even be fun to extend this and add key classes,
|
// ...might even be fun to extend this and add key classes,
|
||||||
@ -1959,6 +1957,7 @@ var Outline = {
|
|||||||
// Letter
|
// Letter
|
||||||
// Number
|
// Number
|
||||||
// ...
|
// ...
|
||||||
|
// Unhandled
|
||||||
Any: function(evt, key){
|
Any: function(evt, key){
|
||||||
if(this.__caret_x
|
if(this.__caret_x
|
||||||
&& this.get('edited')
|
&& this.get('edited')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user