substance / texture

A visual editor for research.
MIT License
1k stars 83 forks source link

Hyperlinks #1315

Open JGilbert-eLife opened 5 years ago

JGilbert-eLife commented 5 years ago

Description

Applying a link to text in the article.

User stories

  1. As an author, I want to be able to make text into a hyperlink so that I can link out to an external URL.
  2. As an author, I want to be able to see if text is a hyperlink so that I can check this is correct.
  3. As an author, I want to be able to follow a hyperlink out to the target so that I can check the link is going to the right place.
  4. As an author, I want to be able to remove a hyperlink from the text in the article so that I can make any necessary adjustments before publishing.
  5. As an author, I want to be able to edit the target for a hyperlink so that I can correct any errors.

But what if . . . ?

Consideration

XML requirements

eLife uses the element ext-link

<p>... a freely available open-source software (<ext-link ext-link-type="uri" xlink:href="https://gitlab.com/tjian-darzacq-lab/spot-on-matlab">https://gitlab.com/tjian-darzacq-lab/spot-on-matlab</ext-link>) based on a model previously introduced in ... </p>

eLife allows ext-link as a child of the following (not including references):

In addition SciELO allows ext-link as a child of the following (not including references):

Mock ups

Proposal