Skip to content

feat: get all text if none is selected? #1

Description

@MentalGear

First off: Thank you very much for this modern RUST/node based library - very impressive!

I'm wondering whether it would also be possible to have a flag that allows retrieval of the whole text body if none is selected?
If I understand right, the current approach works by simulating the CMD/CTRL & V key combo.

Would it then be possible, if there is no selection, to first trigger CMD/CTRL & A before doing the actual copying?

E.g.:

getSelectionTextOrAll()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions