nl_tokens: Wraps current selection with the given node
pl_tokens: function ( node ) { var range = this . getRange ( ) ; if ( ! range ) { return ; } <mask> { // This only works when the range boundaries are not overlapping other elements range . surroundContents ( node ) ; this . selectNode ( node ) ; } catch ( e ) { // fallback node . appendChild ( range . extractContents ( ) ) ; range . insertNode ( node ) ; } }