Closed Geremia closed 2 years ago
Do the links work if you click on them in the editor immediately after pasting the text?
@Sesquipedalian No.
The HTML of the rich-text I copied:
Cappello, S.J., <a href="https://archive.org/details/Cappello1947N.822840PA" rel="nofollow noreferrer">
<em>Tractatus Canonico-Moralis de Sacramentis. Vol V. De Matrimonio</em></a>, p. 805 (quoted in McAuliffe,
<a href="https://isidore.co/calibre/#panel=book_details&book_id=5766" rel="nofollow noreferrer">
<em>Catholic Moral Teaching on the Nature and Object of Conjugal Love</em></a> p. 77):
Pasting the rich-text copied in Firefox into a Thunderbird email retains the links, however.
Copying the hyperlinks from the editor and pasting that into Thunderbird also retains the hyperlinks.
That means that those links are not being recognized by the editor as links at all. That is the reason they are not formatted as links when you toggle into source mode.
So the question is, why are these links not recognized as links?
To help diagnose that, first please tell us exactly what URLs those links are supposed to point to. Maybe that will give us a clue.
Oh, you edited your comment while I was replying. Thanks for the additional information. Based on that, my first idea was wrong.
Next question: what rich text editor is this text being copied from?
This bug is present in SMF 2.1.2, too.
That's not surprising. SMF 2.1.2 had already been finalized before this issue report was opened. But we've got it on the milestone for 2.1.3, and @live627 definitely knows what he is doing with SCEditor, so it'll be fixed. 🙂
Description
Clicking "Toggle source view" strips hyperlinks in pasted rich-text.
Steps to reproduce
Environment (complete as necessary)
Additional information/references
Copying this: and pasting into the textarea: gives this, after clicking "Toggle source view":
clicking "Toggle source view" again: