} else {\r
newNode = this.canvas.nodeSplit({node: contextNode, textNodeIdx: pos.textNodeIndex, offset: pos.textNodeOffset});\r
}\r
} else {\r
newNode = this.canvas.nodeSplit({node: contextNode, textNodeIdx: pos.textNodeIndex, offset: pos.textNodeOffset});\r
}\r
this.canvas.listRemove({pointer: node});\r
this.selectNode(node, {movecaret: 'end'});\r
this.sandbox.publish('contentChanged');\r
}\r
else {\r
this.canvas.listRemove({pointer: node});\r
this.selectNode(node, {movecaret: 'end'});\r
this.sandbox.publish('contentChanged');\r
}\r
else {\r
this.canvas.listCreate({start: node, end: canvasNode.create(pos.focusNode), type: meta});\r
this.selectNode(node, {movecaret: 'end'});\r
this.sandbox.publish('contentChanged');\r
this.canvas.listCreate({start: node, end: canvasNode.create(pos.focusNode), type: meta});\r
this.selectNode(node, {movecaret: 'end'});\r
this.sandbox.publish('contentChanged');\r