+ * Branch the specified element from the collapsed range position and\r
+ * place the caret between the two result branches.\r
+ * Note: The range must be collapsed and been enclosed by this element.\r
+ * @param {CKEDITOR.dom.element} element\r
+ * @return {CKEDITOR.dom.element} Root element of the new branch after the split.\r
+ */\r
+ splitElement : function( toSplit )\r
+ {\r
+ if ( !this.collapsed )\r
+ return null;\r
+\r
+ // Extract the contents of the block from the selection point to the end\r
+ // of its contents.\r
+ this.setEndAt( toSplit, CKEDITOR.POSITION_BEFORE_END );\r
+ var documentFragment = this.extractContents();\r
+\r
+ // Duplicate the element after it.\r
+ var clone = toSplit.clone( false );\r
+\r
+ // Place the extracted contents into the duplicated element.\r
+ documentFragment.appendTo( clone );\r
+ clone.insertAfter( toSplit );\r
+ this.moveToPosition( toSplit, CKEDITOR.POSITION_AFTER_END );\r
+ return clone;\r
+ },\r
+\r
+ /**\r