anchor.before(newNode)\r
else\r
anchor.after(newNode);\r
- mediator.nodeCreated(newNode);\r
+ this.selectNode(newNode);\r
//isDirty = true;\r
sandbox.publish('contentChanged');\r
},\r
$(node).replaceWith(newNode);\r
newNode.before(prefix);\r
newNode.after(suffix);\r
- mediator.nodeCreated(newNode);\r
+ \r
+ this.selectNode(newNode);\r
//isDirty = true;\r
sandbox.publish('contentChanged');\r
}\r
node.replaceWith(newNode);\r
newNode.before(prefixNode);\r
newNode.after(suffixNode);\r
- mediator.nodeCreated(newNode);\r
+ \r
+ this.selectNode(newNode);\r
//isDirty = true;\r
sandbox.publish('contentChanged');\r
}\r