draft-js-markdown-plugin icon indicating copy to clipboard operation
draft-js-markdown-plugin copied to clipboard

Spaces after markdown links should escape the link creation

Open brianlovin opened this issue 8 years ago • 0 comments

Overall it's really challenging to stop typing a link after it's already been created. See this demo:

https://www.dropbox.com/s/1tcqkss1gav5u6h/link-formatting.mov?dl=0

Basically it's not clear how to stop typing a link.

A couple proposed changes:

  • If we have an inline toolbar, a user can just select text to linkify/unlinkify it. Solves the problem.
  • If a user is typing a markdown link, don't auto-format it after the closing ) parentheses. Dropbox Paper does this - just keep the user's formatting because they know what they are doing with Markdown.
  • Re-expand a link to the markdown syntax when it is clicked or selected.

brianlovin avatar Mar 06 '18 06:03 brianlovin