anchor.before(newNode)\r
else\r
anchor.after(newNode);\r
- this.selectNode(newNode);\r
+ this.selectNode(new wlxmlNode.Node(newNode), {moveCarret: true});\r
//isDirty = true;\r
sandbox.publish('contentChanged');\r
},\r
newNode.before(prefix);\r
newNode.after(suffix);\r
\r
- this.selectNode(newNode);\r
+ this.selectNode(new wlxmlNode.Node(newNode), {moveCarret: true});\r
//isDirty = true;\r
sandbox.publish('contentChanged');\r
}\r
newNode.before(prefixNode);\r
newNode.after(suffixNode);\r
\r
- this.selectNode(newNode);\r
+ this.selectNode(new wlxmlNode.Node(newNode), {moveCarret: true});\r
//isDirty = true;\r
sandbox.publish('contentChanged');\r
}\r