outline / rich-markdown-editor

The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:

Home Page:https://www.getoutline.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The editor interprets links without any marks

arslancharyev31 opened this issue · comments

In #380 (reply in thread) it was stated that

A url in markdown should not be interpreted as a link unless it is marked as such

But yet it is the exact behaviour that we observe in the latest version. So text like not-a-link.com will be interpreted as link. Moreover, onChange method would return a new value where the link has been marked as such with the corresponding markdown syntax, for example: [not-a-link.com](http://not-a-link.com).

I agree with the quoted words. People might simply forget to put a whitespace after any dot and they won't see that it has been interpreted as a link until it is saved and reopened again. At the very least the editor should have a property that allows us to disable automatic link markup.