nl_tokens: wraps the selection in the provided tag / execCommand function . Should only be called in WYSIWYG mode .
pl_tokens: function ( command , opt , isSelectableElementTool ) { if ( command . toLowerCase ( ) === "undo" ) { scope [ '$undoTaBindtaTextElement' + _serial ] ( ) ; } else if ( command . toLowerCase ( ) === "redo" ) { <mask> [ '$redoTaBindtaTextElement' + _serial ] ( ) ; } else { // catch errors like FF erroring when you try to force an undo with nothing done _taExecCommand ( command , false , opt ) ; if ( isSelectableElementTool ) { // re-apply the selectable tool events scope [ 'reApplyOnSelectorHandlerstaTextElement' + _serial ] ( ) ; } // refocus on the shown display element, this fixes a display bug when using :focus styles to outline the box. // You still have focus on the text/html input it just doesn't show up scope . displayElements . text [ 0 ] . focus ( ) ; return scope . displayElements . text [ 0 ] ; } }