sbenhaim / protobrew

Meteor.js wiki engine
4 stars 4 forks source link

when auto links are created and then later edited, the URL does not update #76

Open funkyeah opened 11 years ago

funkyeah commented 11 years ago

So I manually typed in:

http://www.shartsheet.com/b/home

and the editor automatically made it an external link, which is cool. However when I realized I typed the URL and edited it, the editor didn’t update the URL field. I simply highlighted the whole thing and selected link, add external link and it showed the erroneous URL, I fixed my typo and all was well. However for less technical users, I can see how this would confuse things a bit.

abettino commented 11 years ago

Added a solution for this. It checks the href tag vs the text on links of type data-llinktype=linkify. The problem I see with it now is it doesn't run on save so if you edit a link without pressing enter it won't get updated.