tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.49k stars 1k forks source link

Is there a way to customize the display text of a link? #486

Open rpmartz opened 10 years ago

rpmartz commented 10 years ago

I know that we can change the parser rules to allow for mailto: links, but then the actual display text of the anchor is mailto:someone@example.com. I'd like for it to just display someone@example.com. Is this currently possible, and if not, where would I start extending this to make it possible?