A CodePen by Phil Sinatra. Insert @ Caret - Insert some html text or in this case an HTML entity at the cursor location in an input.