Typescript - i can't change onPaste()'s behaviors #2850
Unanswered
pipidelena
asked this question in
Q&A
Replies: 1 comment
-
so how does the inlineToolbar work? Specifically, how is pasted data treated during the paste action when we set inlineToolbar: true, which lead to the failure of tags removal? Could someone pls provide documentation or instructions > . > |
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.
-
Hi.




https://editorjs.io/paste-substitutions - I followed instructions from the Editor.js documentation on paste substitutions. My files now look like these:
index.d.ts
configuration.ts
init function
testing result
As seen in the images @. @ i don't think the render() function in either CustomParagraph or Paragraph gets called. But if so what did? and how could I remove HTML tags like -a- or <script> from the pasted content in my project? I’ve spent a whole day on this issue without any clues, please help!
Beta Was this translation helpful? Give feedback.
All reactions