Coder Social home page Coder Social logo

simplepdf / simplepdf-embed Goto Github PK

View Code? Open in Web Editor NEW
210.0 3.0 21.0 755 KB

PDF editor in the browser – add text, checkboxes, pictures, signatures to PDF files. Merge, rotate PDF pages – iframe, script and React component

Home Page: https://simplepdf.eu/embed

License: MIT License

JavaScript 6.16% TypeScript 62.94% SCSS 1.67% HTML 8.98% CSS 1.35% PHP 18.90%
form pdf pdf-sdk react react-component reactjs sdk sdk-js pdf-viewer privacy

simplepdf-embed's Issues

Feature Request : To read text contents from an embedded iframe

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!

PWA support for simplepdf.eu

Adding PWA (Progressive Web App) support to simplepdf.eu would be a nice addition for frequent users like myself. It provides a more app-like experience, especially on mobile, which I think many would appreciate.

I'm aware that this repository does not handle the development or maintenance of simplepdf.eu. In the absence of a dedicated repo for simplepdf.eu, I'm presenting my suggestion here.

Thank You!

How to Clear Old Form inputs when launching the embed pdf

Currently I am using the script like
<EmbedPDF mode="inline" style={{ width: 900, height: 800 }} documentURL="https://laborlink-media-bucket.s3.ap-south-1.amazonaws.com/internal/exhibit101.pdf" /> But the issue is that for each user I want to create form I am getting prefilled signature and other details, is there a solution to this

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.