Skip to content

Transparent text should not be allowed in the editor #115

Description

@sehyod

From #110

New issue I encountered today: if I select all on the text in an editor window and then paste text over it, the editor window appears blank, but the text content is there, as it can be highlighted and shows up in the AI interactions window as selected text. Video below.

This issue only occurs when pasting text from the PDF viewer. What actually happens is that the PDF Viewer renders PDFs as images and then add transparent text on top of the image to make it selectable. When pasting the text in the editor, formatting is preserved, making the text invisible in the editor.

I think we want to preserve text formatting when pasting, but we can add a rule that removes transparent color property as I don't see any use case where users would actually want to paste transparent text

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions