The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Insert into a textarea at the cursor position

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #32637

    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.