1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Browser Issue Unable to add a link to all text in the editor

Discussion in 'Resolved Bug Reports' started by Chris D, Aug 15, 2013.

  1. Chris D

    Chris D XenForo Developer Staff Member

    I can replicate this with any XenForo editor in 1.2.

    Replication steps are simple and it has currently been tested on Google Chrome for Mac. @Rho Delta do you use Mac or Windows?
    1. Go to an editor that is currently blank
    2. Type any text
    3. Highlight all of the text (click and drag or Cmd + A or Ctrl + A seem to have the same effect)
    4. Click the Add Link button in the editor
    5. Type a link
    6. Click Insert
    7. The result is that no link is applied to the text.

    As a work around if you end your text with a space and highlight everything except the space, then the link will add properly.

    Oddly, if you're editing an existing post (for example) then it works absolutely fine.
     
    Bob and shenmuee like this.
  2. Rho Delta

    Rho Delta Well-Known Member

    I use Windows 7. I can confirm it does the same thing to me.
     
  3. mjda

    mjda Active Member

    Might be a Google Chrome thing. I'm using Win7 and Firefox and it works fine for me.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Just tested on Safari. Same issue as Chrome so it looks like a webkit thing, at least.
     
    JVCode and mjda like this.
  5. Tracy Perry

    Tracy Perry Well-Known Member

    Test Message

    If you see the link above - then it works in FireFox on OS/X 10.8.4.
    It did NOT work in Chrome or Safari.
    This additional text was added after the original post was saved and confirmed working.
     
    Last edited: Aug 16, 2013
  6. Adam Howard

    Adam Howard Well-Known Member

  7. JulianD

    JulianD Well-Known Member

    I can reproduce it! Chromium under Ubuntu 13.04
     
  8. Martok

    Martok Well-Known Member

    I've just tried it in Chrome for Android and can confirm the bug.

    All sorts of problems in Firefox for Android which aren't quite the same so I'll post these separately.
     
  9. Chris D

    Chris D XenForo Developer Staff Member

  10. Mike

    Mike XenForo Developer Staff Member

    It's generally a browser bug, though definitely weird - I'm not sure why it works on editing. The selection appears to be identical in both cases.

    We pass off to the browser to apply the changes to the selection, as it may cross multiple tag boundaries and do all sorts of weird things. As such, it isn't really something we can fix.
     
    Chris D likes this.

Share This Page