Skip to content

Feature Request : To read text contents from an embedded iframe #3

@youngyeeer

Description

@youngyeeer

Hi! First of all I'd like to thank you for developing such an elegant solution for pdf editing!

I am a developer looking to enable copilot style capabilities on an uploaded PDF file. The thing is, I am currently unable to read the contents from the embedded iframe due to a cross-origin error.

User
Uncaught DOMException: Failed to read a named property 'document' from 'Window': Blocked a frame with origin "mysite.com" from accessing a cross-origin frame.

I am wondering if there are any ways I could read the text out so that it could form part of my LLM prompt.

Thank you!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions