refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 371 forks source link

Markdown Editable with Links #318

Closed niknokseyer closed 6 years ago

niknokseyer commented 6 years ago

Is there a way on Editable Markdown (data-provide="markdown-editable") to make links (e.g. www.example.com) clickable instead of switching it to the editor right away?

lodev09 commented 6 years ago

@niknokseyer you can manually initiate/create the editor when a link/button is clicked:

$('#my_button').on('click', function() {
  $('#texarea').markdown();
});