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

Not a Bug Copying string with color bug

Discussion in 'Resolved Bug Reports' started by rellect, May 27, 2014.

  1. rellect

    rellect Well-Known Member

    When copying a string which ends with a colored word, the whole string gets this color.

    Video example

    Last edited: May 27, 2014
    erich37 likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    There's an ambiguity here, but I don't think it's a bug. You're actually pasting text into a container that is red.

    Before you do the paste, you can see that your cursor is blinking red and if you typed, it would have been red. This is because you were at the end of a line with formatting and that formatting continued onto the next line automatically. Your paste happened inside that formatting as it's where your cursor was.

    "As designed" isn't really correct as it's more of an incidental behavior and is mostly controlled by the browser I believe (it's how the formatting needs to be brought across, which is correct more often than not).
    Alluidh, Valhalla and rellect like this.
  3. rellect

    rellect Well-Known Member

    If that's the case, I guess you at least should be able to clear that container before pasting.
    But it doesn't seems to be possible (not easily anyway).

Share This Page