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

Fixed Inconsistent behaviour when pasting tables from Excel

Discussion in 'Resolved Bug Reports' started by Jon W, Sep 14, 2013.

  1. Jon W

    Jon W Well-Known Member

    When I copy and paste a table in Google Chrome (Windows 8.1, Excel 2013), I get:
    upload_2013-9-14_12-44-57.png

    When I copy and paste the same table in IE11 (Windows 8.1, Excel 2013), I get:

    a b c

    d e f

    g h i


    When I copy and paste the same table in Google Chrome/IE10 (Windows 8, Excel 2013):
    a b c
    d e f
    g h i
     
    Last edited: Sep 14, 2013
    Alfa1 and shenmuee like this.
  2. tyteen4a03

    tyteen4a03 Well-Known Member

    So many IE11 troubles...
     
    shenmuee likes this.
  3. Jon W

    Jon W Well-Known Member

    Not just IE11.

    The IE11 behaviour is actually the preferred behaviour for me because when pasted it displays a HTML table. This could then be converted easily into a table BB code using an add-on.

    It should be noted that Chrome defaults to the same behaviour as IE11 in places where image uploads are not allowed (i.e. conversations). Otherwise I would probably prefer the Chrome behaviour.
     
    shenmuee likes this.
  4. Mike

    Mike XenForo Developer Staff Member

    IE11's paste behavior was bugged--mostly because of the user agent change--which meant that none of the paste clean up happened with it. I've sorted that.

    I've changed Chrome's behavior to prefer using an HTML paste, even when there's a file-based version of it. This one of the first times I've noticed this come up. We were doing something similar before only when there were images in the HTML, but now I'm doing it all the time. It's sort of cool that there's an image format available too, though it's definitely not the exact option we want here.

    Note that aside from when an image was pasted, there always was a table there. It's submitted to the server and can be parsed if desired. Since we don't have any alternative for tables, we parse them down as can be seen above.
     
    Jon W likes this.

Share This Page