a bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-10-18 14:58:08 +03:00
parent 66c3760be9
commit a816b62a76
2 changed files with 5 additions and 5 deletions

View File

@ -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...

View File

@ -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: