Fixed Redactor: Duplicates links when switching between editor modes


Well-known member
Redactor duplicates links. I'm on a Mac OXS 10.8.3 and Fifrefox 21.

Steps to reproduce:

1) Start new thread
2) Paste a URL into message box
3) Hit enter a couple times (At this point the URL is converted to a link)
4) Click the BB Code Editor
5) Click the Rich Text editor
6) Put cursor at the end of the link on line 1
7) Hit enter a couple times
8) Click the BB Code Editor

The link on line one has been duplicated on line 3.


Confirmed on Firefox 21.0 - Windows 7.

But if you switch back to rich mode (step 9), the duplicate link is gone!


XenForo developer
Staff member
Fix should be rolled out soon. Note that FF does handle link stuff a little differently than other browsers and it will more aggressively keep you in the link than other browsers, particularly when the situation is potentially ambiguous (you've just deleted the last character after the link or you've just deleted the last character in the link). The is generally an intrinsic property of it and something that we can't workaround.