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

Notebook location of pasted cells #1255

Closed
disberd opened this issue Jun 16, 2021 · 0 comments · Fixed by #1263
Closed

Notebook location of pasted cells #1255

disberd opened this issue Jun 16, 2021 · 0 comments · Fixed by #1263

Comments

@disberd
Copy link
Contributor

disberd commented Jun 16, 2021

When pasting copied cells in the input of an empty cell, I was expecting the pasted cells to appear in the position of the notebook where the paste command was sent.

At the moment regardless of where the paste command is sent, the pasted cells are appended to the end of the notebook.
One can always move them where needed afterwards, but it can be a bit inconvenient when dealing with pretty long notebooks.

In fact, while the add-deserialized-cells accepts the index of paste as argument, the value of -1 is currently given in the Cellinput.js file:

pluto_actions.add_deserialized_cells(topaste, -1, deserializer)

Is this intended for some reason or could this be fixed to have the pasted cell appear at the point of the notebook where you send the paste command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant