view._markSelected(anchor);\r
});\r
\r
+ this.node.on('keydown', '#rng-visualEditor-contentWrapper', function(e) {\r
+ if(e.which === 13) { \r
+ e.preventDefault();\r
+ var anchor = $(window.getSelection().anchorNode);\r
+ if(anchor[0].nodeType === Node.TEXT_NODE)\r
+ anchor = anchor.parent();\r
+ var newNode = anchor.clone().empty();\r
+ anchor.after(newNode);\r
+ view.selectNode(newNode);\r
+ }\r
+ });\r
+ \r
\r
var metaTable = this.metaTable = this.node.find('#rng-visualEditor-meta table');\r
\r