mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-28 17:40:07 +00:00
node merging undo can merge merged sets...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
426e8999ba
commit
a24eb02876
@ -1259,7 +1259,12 @@ var Outline = {
|
||||
if(stack == null || stack.length == 0){
|
||||
return this }
|
||||
stack.push(
|
||||
stack.splice(-n, n))
|
||||
stack.splice(-n, n)
|
||||
.map(function(e){
|
||||
return typeof(e[1]) == 'string' ?
|
||||
[e]
|
||||
: e })
|
||||
.flat())
|
||||
return this },
|
||||
clearUndo: function(){
|
||||
this.__undo_stack = undefined
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user