We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ffd95be + 3beaf5d commit 0d04ff0Copy full SHA for 0d04ff0
js/board/BoardFrame.js
@@ -61,6 +61,7 @@ define([
61
vp_note_display: true,
62
viewDepthNumber: false,
63
indentCount: 4,
64
+ currentParentBlock : null,
65
...this.state
66
};
67
@@ -759,6 +760,10 @@ define([
759
760
// add to specific position
761
this.blockList.splice(position, 0, block);
762
}
763
+ if(this.currentParentBlock){
764
+ this.moveBlock(position, position, this.currentParentBlock);
765
+ this.currentParentBlock = null;
766
+ }
767
return block;
768
769
@@ -807,6 +812,8 @@ define([
807
812
movingBlock.setGroupBlock();
808
813
809
814
this.reloadBlockList();
815
+ }else if(parentBlock){
816
+ this.currentParentBlock = parentBlock
810
817
811
818
819
0 commit comments