Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste multiline cells from googlesheet lost CRLF #5970

Closed
leaderpol opened this issue Apr 17, 2019 · 2 comments

Comments

Projects
None yet
4 participants
@leaderpol
Copy link

commented Apr 17, 2019

Description

Past cells with multiline from googlesheet to hansontable lost CRLF

Steps to reproduce

  1. Open a google sheet
  2. Set a cell with
    "a
    b
    c
    d"
  3. copy and paste it to hansontable you will have
    "a
    bcd"

The bug is line 81212
cell.innerHTML = cell.innerHTML.trim().replace(/<br(.|)>(\n?)/, '\n');

have to be
cell.innerHTML = cell.innerHTML.trim().replace(/<br(.|)>(\n?)/g, '\n');

Regards ;)

@wojciechczerniak wojciechczerniak referenced this issue Apr 18, 2019

Closed

Add parse-table to Handsontable.helpers #5684

15 of 15 tasks complete
@AMBudnik

This comment has been minimized.

Copy link
Contributor

commented Apr 19, 2019

Good day,

here's Aleksandra. We've exchanged emails. Thank you for sharing this issue. We'll check if with #5684

@AMBudnik

This comment has been minimized.

Copy link
Contributor

commented Jun 12, 2019

Hey @leaderpol

we've released 7.1.0 with #5684 and this issue seem to be fixed.

image

I'm closing this topic. But if, for any reason, this does not work on your end please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.