Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

show links automatically as links #347

Closed
1u opened this issue Feb 9, 2016 · 4 comments
Closed

show links automatically as links #347

1u opened this issue Feb 9, 2016 · 4 comments
Milestone

Comments

@1u
Copy link
Member

1u commented Feb 9, 2016

why not automatically display link-strings as hrefs?

add ´<a href=´ if string contains ´.com´ ´.net´ etc or ´http://´, ´https://´ or ´ftp://´ etc
#315

@1u 1u added this to the v0.6.0-beta milestone Feb 9, 2016
@sbalmer
Copy link
Contributor

sbalmer commented Mar 22, 2016

I gave it a try in the linkify-branch, see fd3178f

@1u
Copy link
Member Author

1u commented Mar 22, 2016

yeah, works great!
needs reload to take effect with editable(mediumEditor) but thats not a problem, right?

@1u
Copy link
Member Author

1u commented Mar 22, 2016

problem is: with editable we're edditing what is displayed, so links get stored on server after editing.

  • we could do baking on the server. cons: links are stored in text and not updated when editing or removed.
  • we could take the version from the server before editable, cons: curser wouldnt have position of click, pros: links wouldnt be stored on server.

@sbalmer
Copy link
Contributor

sbalmer commented Apr 19, 2016

Turns out Medium editor had the option to autolink all along.

@1u 1u mentioned this issue Jul 23, 2016
sbalmer added a commit that referenced this issue Jul 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants