-
Notifications
You must be signed in to change notification settings - Fork 25
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
Copying multiple cells breaks the table #5
Comments
When I tried that, it worked all the times. Even when I tried to copy 3 cells from a row, I didn't have any broken cell / row / table. The strange effect was that the data from the 3 cells were all in the cell where I pasted the data. |
You're right. When the text cursor is in a cell, I can paste data, and when one cell is selected, too. But when I select more than one cell, so for example I copied data from two cells and want to paste it now to two other cells, I get the payload thing. |
Ok, I found the way to have the payload problem.. Unfortunately, we are in the same situation as for the 'copy table' issue. @JohnMcLear Maybe you have an idea how I can manage this? |
You probably need to use aceEditEvent and if it's you that made the edit re-fix the table to it's original state or to something sane.. Either way a line clean up that allows a table to be in an incomplete state should never be allowed anyway so if you focus on ensuring table integrity you will be onto a winner. |
Thanks for your quick help. |
I tested the aceEditEvent and indeed it's possible to copy / paste the data and structure of the table as I have the start and ending of the selection values. But I'm not happy with that.
By using AceEditEvent, it will be very difficult to know in what situation I'm in. So I was wondering if adding a Copy / paste menu could be a better way to manage that.
That way, you put the cursor in the cell / row you want to copy, you click that menu you need, you put the cursor where you want to paste and click 'Paste' in the menu. But to do that, I need to keep in memory what the user asked. What's the best / good way to do that? |
Any news on that? Would love to see a way to copy a table... |
Hello, I'm sorry to say that I'm won't do it. If you are interested to do it, feel free to fork it. Again, sorry for that. |
emmm.... 50000 years later :( |
When I try to copy selected cells from one table to another the line brokes and the {"payload":[["-thing appears.
I use still Firefox 30.
The text was updated successfully, but these errors were encountered: