mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-17 16:41:39 +00:00
a bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
66c3760be9
commit
a816b62a76
@ -417,7 +417,7 @@ var Outline = {
|
|||||||
styling,
|
styling,
|
||||||
tables,
|
tables,
|
||||||
symbols,
|
symbols,
|
||||||
syntax,
|
//syntax,
|
||||||
|
|
||||||
// keep this last...
|
// keep this last...
|
||||||
// XXX revise -- should this be external???
|
// XXX revise -- should this be external???
|
||||||
@ -1233,7 +1233,10 @@ var Outline = {
|
|||||||
if(elem.classList.contains('code')){
|
if(elem.classList.contains('code')){
|
||||||
var block = elem.parentElement
|
var block = elem.parentElement
|
||||||
that.update(block, { text: elem.value })
|
that.update(block, { text: elem.value })
|
||||||
that.runPlugins('__editedcode__', evt, that, elem) }
|
// give the browser a chance to update the DOM...
|
||||||
|
// XXX revise...
|
||||||
|
setTimeout(function(){
|
||||||
|
that.runPlugins('__editedcode__', evt, that, elem) }, 0) }
|
||||||
|
|
||||||
that.runPlugins('__focusout__', evt, that, elem) })
|
that.runPlugins('__focusout__', evt, that, elem) })
|
||||||
// update .code...
|
// update .code...
|
||||||
|
|||||||
@ -44,9 +44,6 @@ var setup = function(){
|
|||||||
- // Seems that I unintentionally implemented quite a chunk of the markdown spec ;)
|
- // Seems that I unintentionally implemented quite a chunk of the markdown spec ;)
|
||||||
-
|
-
|
||||||
- ## Bugs:
|
- ## Bugs:
|
||||||
- BUG: exiting a node via arrow keys does not update status (click works)...
|
|
||||||
- [_] some [X] text [%]
|
|
||||||
- _likely need to handle an extra event..._
|
|
||||||
- BUG: last node seems to get trash tags added to it's end...
|
- BUG: last node seems to get trash tags added to it's end...
|
||||||
-
|
-
|
||||||
- ## ToDo:
|
- ## ToDo:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user