Forums

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

Home Forums JavaScript How to change selected text in textarea

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #237714
    Nishant
    Participant

    i am new to JavaScript. i was just making a form with textarea which should have support of markdown but don’t know how to change selected text of textarea of into markdown format.

    below is a pen in which, when clicking on bold button after selecting text in textarea then text should be change in bold of markdown format.

    http://codepen.io/anon/pen/wMEQmP

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.