How to intercept "paste" event for table & remove background property from copied table headers #4855
TrySpace
started this conversation in
Documentation
Replies: 1 comment
-
|
@claude Can you answer the question how to do 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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When i paste a Table in the editor, a property like this gets copied with it in the header (or any cell for that matter):
What's the best way to intercept the data being transformed to platejs data? (I want to transform that into a hex color)
One option would be a normalize transform, but I want to limit render impact and only run it when you paste something.
I cannot find anything about this in the documentation.
Beta Was this translation helpful? Give feedback.
All reactions