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

Froala 4.2.0: Double Pasting Issue with Multiple Froala Instances #4800

Open
za1x opened this issue Jul 11, 2024 · 4 comments
Open

Froala 4.2.0: Double Pasting Issue with Multiple Froala Instances #4800

za1x opened this issue Jul 11, 2024 · 4 comments

Comments

@za1x
Copy link

za1x commented Jul 11, 2024

Description:

I am experiencing an issue where pasting text into Froala editors results in the text being pasted twice. This occurs when there are at least two instances of the Froala editor on the same page. I have verified this behavior on my own implementation and also on Froala's own example pages.

froala
Screenshot_1

Steps to Reproduce:

Navigate to Froala's example page: Froala Editor Examples
Ensure there are at least two instances of the Froala editor on the page.
Copy some text (e.g., from a Word document).
Paste the text into the first Froala editor instance - it pastes correctly.
Paste the same text into the second Froala editor instance - the text is pasted twice.

Expected Behavior:
The text should be pasted only once in all instances of the Froala editor.

Actual Behavior:
The text is pasted twice in the second (and subsequent) instances of the Froala editor.

Additional Information:

Froala Editor version: 4.2.0
Browser: Chrome 126.0.6478.127
Operating System: Windows 10
Please let me know if you need any additional information or if there is a workaround for this issue.

Thank you!

@za1x
Copy link
Author

za1x commented Jul 26, 2024

This is a bug in the 'word_paste' plugin since Froala 4.2.0. Froala 4.1.4 does not have this issue.

@rpragesh
Copy link

rpragesh commented Aug 5, 2024

I am also facing the same issue :(
And when I increase the instances of editor then pasted content is also getting multiplied.

@za1x Do we need to downgrade the version of Froala to 4.1.4 or is there any alternate solution for this?

@za1x
Copy link
Author

za1x commented Aug 19, 2024

@rpragesh You need to downgrade only word_paste plugin file to 4.1.4

@snehal-ent
Copy link

When will it be resolved I had paid for this plugin...
and it has been an issue since months I have been facing on my platform.

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

3 participants