Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-15053

Unable to add unlinked text to end of line which already ends in a link while using the RTE

      While using the RTE to edit a page, it's impossible to add extra text to the end of a line that already ends with a link.

      http://extranet.atlassian.com/display/~mtaylor/test

      I created that test page. Initially, it only contained a single link. When I went back in to edit the page and tried to add some words after the link, it incorrectly added the extra words to the link's alias. It's easy to fix this using the wiki markup, but it's still broken when trying to do it in the RTE.

            [CONFSERVER-15053] Unable to add unlinked text to end of line which already ends in a link while using the RTE

            AudraA added a comment -

            we should at least release note this. try fixing in 3.1?

            AudraA added a comment - we should at least release note this. try fixing in 3.1?

            This new bug is caused by my fix to CONF-5443.

            The problem of placing a cursor after a link used to be solved by adding a thinspace character after all links, then removing it during conversion to wiki markup.
            That solution caused a lot of other problems with users being confused by the removal of spaces and sometimes the appearance of these thinspace characters as little boxes.
            Really it is a problem that should be solved by the Editor/Browser, not Confluence. I think, from the testing I did at the time, that both IE and Safari are quite clever about when they think you're within the link and when you're outside it, but Firefox is less so.
            Perhaps we need to add a specific handling for just firefox.
            For now, I'm hoping that this bug does not affect too many users and that a future release of TinyMCE/Firefox solves the problem.

            If you do find yourself in this position you can "unlink" the text you don't want to be a link, using the RTE's context menu.

            Don Willis added a comment - This new bug is caused by my fix to CONF-5443 . The problem of placing a cursor after a link used to be solved by adding a thinspace character after all links, then removing it during conversion to wiki markup. That solution caused a lot of other problems with users being confused by the removal of spaces and sometimes the appearance of these thinspace characters as little boxes. Really it is a problem that should be solved by the Editor/Browser, not Confluence. I think, from the testing I did at the time, that both IE and Safari are quite clever about when they think you're within the link and when you're outside it, but Firefox is less so. Perhaps we need to add a specific handling for just firefox. For now, I'm hoping that this bug does not affect too many users and that a future release of TinyMCE/Firefox solves the problem. If you do find yourself in this position you can "unlink" the text you don't want to be a link, using the RTE's context menu.

            Broken in Firefox3 3.0.8. Seems to work fine in IE6 though.

            Maleko Taylor (Inactive) added a comment - Broken in Firefox3 3.0.8. Seems to work fine in IE6 though.

            I imagine that would be browser-specific. Which browsers did you test with?

            Don Willis added a comment - I imagine that would be browser-specific. Which browsers did you test with?

              jmasson@atlassian.com John Masson
              mtaylor@atlassian.com Maleko Taylor (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: