Closed manojcena closed 1 month ago
i guess you have to use quill.clipboard.onCapturePaste((event) => {})
to add paste handling
But if you want to implement your custom copy/paste logic you can create your custom clipboard module. Example of a custom clipboard module https://github.com/slab/quill/issues/4218#issuecomment-2173273300
I was trying to do preventDefault in the paste event I was using in 2 different approaches in both approaches even though I did event.preventDefault still the content already added to the editor.
I used directive and code is below
I used both are not working
I was listening to the paste event and I wanted to transform the data before rendering it into the quill where the curser was present. Please help me here.
Thanks & Regards,
Manoj Rejinthala