Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Ignore custom text field editors pasting formatted text #991

Open
1 task done
barremob opened this issue Jul 22, 2024 · 1 comment
Open
1 task done

[Feature] Ignore custom text field editors pasting formatted text #991

barremob opened this issue Jul 22, 2024 · 1 comment

Comments

@barremob
Copy link

barremob commented Jul 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

When pasting formatted text in a text editor such as Trix editor it will also upload an image.

Describe the solution you'd like

Adding the tags to the ignore list as done with textarea and input. #493

Describe alternatives you've considered

Adding an option to provide a custom tag to add in the ignore list.
This would be more flexible when other editors are used.

@rikschennink
Copy link
Collaborator

Perhaps you can call stopPropagation() on the paste event when captured in the textarea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants