mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-16 16:11:39 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7927cdf2ee
commit
d6663bc4a2
@ -89,7 +89,8 @@ var update_editor = function(){
|
||||
.on('keyup', function(){
|
||||
var to = Wiki.get($(this).attr('saveto') || '.').path
|
||||
console.log('SAVING:', to)
|
||||
Wiki.get(to).raw = $(this).text()
|
||||
//Wiki.get(to).raw = $(this).text()
|
||||
Wiki.get(to).raw = $(this)[0].innerText
|
||||
})
|
||||
// XXX do this live, but on a timeout after user input...
|
||||
// XXX need to place the cursor in the same position...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user