Wrap HTML around Selection

By Bhagwad Jal Park Last update Jul 23, 2010 — Installed 429 times.


Script Summary: This is modified from HTMLInsert by Vasiliy Aksyonov. Allows to insert html tags into textareas and text fields using hotkeys. Modified to work on Google Chrome

Allows the entry of HTML tags in any textarea using hotkeys.

  • Ctrl+B inserts <strong></strong>
  • Ctrl+I inserts <em></em>
  • Ctrl+U inserts <u></u>
  • Ctrl+S inserts <s></s>
  • Ctrl+Shift+M inserts <a href=""></a>
  • Ctrl+P inserts <p></p>
  • Alt+C counts the words in selection. If nothing selected, it counts all the words in the box
  • Ctrl+2 inserts <h2></h2>
  • Select the text and hit the hotkey to wrap HTML around the selection