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,
|
||||
tables,
|
||||
symbols,
|
||||
syntax,
|
||||
//syntax,
|
||||
|
||||
// keep this last...
|
||||
// XXX revise -- should this be external???
|
||||
@ -1233,7 +1233,10 @@ var Outline = {
|
||||
if(elem.classList.contains('code')){
|
||||
var block = elem.parentElement
|
||||
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) })
|
||||
// update .code...
|
||||
|
||||
@ -44,9 +44,6 @@ var setup = function(){
|
||||
- // Seems that I unintentionally implemented quite a chunk of the markdown spec ;)
|
||||
-
|
||||
- ## 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...
|
||||
-
|
||||
- ## ToDo:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user