Git Product home page Git Product logo

Comments (6)

kennylbj avatar kennylbj commented on May 18, 2024

+1

from react-pdf-js.

mikecousins avatar mikecousins commented on May 18, 2024

This would be a nice improvement.

from react-pdf-js.

frontr-uk avatar frontr-uk commented on May 18, 2024

this is needed 🍡

from react-pdf-js.

mikecousins avatar mikecousins commented on May 18, 2024

Yeah one day we'll need to investigate how react-pdf handled this and port it over.

https://github.com/wojtekmaj/react-pdf/blob/master/src/Page/TextLayer.jsx

They have a TextLayer that is drawn over top I think. Any work/pulls on this would be greatly appreciated.

from react-pdf-js.

bsimons avatar bsimons commented on May 18, 2024

Hi, work on selectable text has been done in the past here:
https://bitbucket.org/ridethepony/react-pdf-js/commits/1b24f41dc763a29883d2c6a1e5fea7ff67a24a28?at=dev
up to
https://bitbucket.org/ridethepony/react-pdf-js/commits/2cc05868cb8e96ca594b1d9fae1c397cf01cca3d?at=dev
This repo was originally forked from https://github.com/mikecousins/react-pdf-js to https://github.com/ridethepony/react-pdf-js and now moved to bitbucket.
Maybe this helps?

from react-pdf-js.

mikecousins avatar mikecousins commented on May 18, 2024

Due to trying to keep this one pretty minimal I think I'm going to pass on adding this for now. It will take quite a bit of code and there are some other libraries that do this well already. I want to try to keep this one super lightweight.

from react-pdf-js.

Related Issues (20)

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.