return false; // top level element is unsplittable
}
- var nodes = position.element.data('wlxmlNode').split({offset: position.offset}),
+ //var nodes = position.element.data('wlxmlNode').split({offset: position.offset}),
+ var nodes = position.element.data('wlxmlNode').transform('split', {offset: position.offset}),
newEmpty,
goto,
gotoOptions;
newEmpty = nodes.second;
if(newEmpty) {
- goto = newEmpty.append({text: ''});
+ //goto = newEmpty.append({text: ''});
gotoOptions = {};
} else {
goto = nodes.second;