Skip to content

Custom component handlers #85

Answered by nick-keller
danisal asked this question in Q&A
Nov 17, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @danisal ,
Note that there are two different states for a cell:

  • focused: when you are editing the cell's content
  • not focused: when you are just selecting cells, not editing their content

When a cell is not focused, doing a CMD+C will copy the cell's content, you can control what is copied exactly. You can also control what is deleted exactly when you cut or clear a cell.

When a cell is focused, it is up to the component to control what happens when you copy or delete something. For instance, in a text input cell, you can select and copy just part of the text.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@danisal
Comment options

@danisal
Comment options

Answer selected by nick-keller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants