Skip to content

Copy/Paste from google translator #646

@xavicabot

Description

@xavicabot

Filament Version

v3.2

Plugin Version

v3.5.16

PHP Version

8.2

Problem description

Hi, I’ve noticed an issue with the TipTap editor when copying and pasting content directly from Google Translate.

When I copy text from Google Translate and try to paste it into the TipTap editor, nothing happens (no content is pasted, no error shown).
However, if I paste the same text first into a plain text editor (like Notepad) or copy it from any other source, the paste works correctly in TipTap.

Expected behavior

The pasted content should appear in the editor, same as with other text sources.

Actual behavior:
Nothing is pasted when the source is Google Translate.

Notes:
This seems specific to Google Translate’s clipboard content (possibly HTML or rich text). Pasting plain text or content from other websites works as expected.

Let me know if you need a minimal reproduction or additional details.

Steps to reproduce

Go to Google Translate

Translate any text

Copy the translated text

Try to paste it into the TipTap editor

Reproduction repository

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions