All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Insert into a textarea at the cursor position

  • # May 8, 2011 at 8:21 am

    I’m looking to create a very simplistic way to style the input of a textarea very similar to this box. I can click bold and then is entered into the textarea at the position of the cursor.

    I have seen a lot of plugins out there that do this and that’s fine but I’m looking for a very simple version with probable just bold and a

      . Plus I want to do it myself. I’m like that.

      I can do everything except find the position in which the cursor sits to be able to dump in the relevant tags.

      Thanks in advance

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed