How can I sanitize pasting in paragraph? #2958
Unanswered
adaptedbee
asked this question in
Q&A
Replies: 0 comments
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.
-
Hi!
I need some way to transform html content, when it is pasted in paragraph.
So I tried to use
sanitizefield for that.Firstly, I found out that
SanitizerConfigseems to have some problem with typing (see my issue). I need to use function likeb: el => el.id !== '';, but it didn't work.Secondly, I tried to use some
booleans andobjects forsanitize, but it didn't work either.Than, I explored that repository and found out that
sanitizefield seems not to be used anywhere.(I tried to comment it in types, than did
lint/build:testand nothing was broken.So, the questions are:
sanitizefield really not actual anymore?(I tried
onPastefunction too, but it seems that it's not being called, like here)Beta Was this translation helpful? Give feedback.
All reactions