How to override onCopy for text selection? #2626
Replies: 1 comment
-
@zbeyens any ideas on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to change the way that certain nodes are copied as HTML, but it looks like setFragmentData is only called when copying table cell or block selections. Is there any way to override the general selection copy handler? Adding
onCopy
to a plugin or the Plate element doesn't seem to do anything.Beta Was this translation helpful? Give feedback.
All reactions