Skip to content

Keyboard Copy + Paste #2996

@miina

Description

@miina

See the discovery ticket for more details.

AC: User can Copy a block by using Ctrl+C (while a block is selected), select any Page and paste the selected block by using Ctrl+V.
AC: The block should be copied with all the relevant settings brought over as well, e.g. same positioning, etc.

We could achieve this for by adding onPaste handler to the selected Page block which would then process the clipboardData and create new blocks accordingly.

See how it's done in RichText, see also the RichText package.

Note that this is very closely related to #2989 and should share the pasting logic.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions