tinymce.html.js
function(wrapper) {
                var self = this;
                self.parent.insert(wrapper, self);
                wrapper.append(self);
                return self;
            }
function(wrapper) {
                var self = this;
                self.parent.insert(wrapper, self);
                wrapper.append(self);
                return self;
            }
function ( wrapper ) { var self = this ; self . parent . insert ( wrapper , self ) ; wrapper . append ( self ) ; return self ; }
Wraps the node in in another node.

@example
node.wrap(wrapperNode);

@method wrap
Wraps the node in in another node .