nl_tokens: Update the input element to reflect the changed argument
pl_tokens: function ( ev ) { if ( this . isUpdating ) { return ; } var prefix = this . element . value . substring ( 0 , ev . argument . start ) ; var suffix = this . element . value . substring ( ev . argument . end ) ; var insert = typeof ev . text === 'string' ? ev . text : ev . text . name ; this . element . value = prefix + insert + suffix ; // Fix the cursor. var insertEnd = ( prefix + <mask> ) . length ; this . element . selectionStart = insertEnd ; this . element . selectionEnd = insertEnd ; }