Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting to math field #13

Open
IchordeDionysos opened this issue Mar 18, 2021 · 2 comments
Open

Pasting to math field #13

IchordeDionysos opened this issue Mar 18, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@IchordeDionysos
Copy link
Collaborator

Feature description

In the demo when I copied from a math input I wanted to paste it back in an math input field.

Ideally, copying to a math input field would insert it where my cursor is right now.

So when I am in a fraction's denominator everything in my pasteboard would be copied into the fraction's denominator!

@IchordeDionysos IchordeDionysos added the enhancement New feature or request label Mar 18, 2021
@creativecreatorormaybenot creativecreatorormaybenot changed the title Copy to math input Pasting to math field Mar 18, 2021
@creativecreatorormaybenot
Copy link
Contributor

I think this might require a rework of the AST to be great, although this is actually almost supported.

I think we can add shortcut support for pasting (CTRL + V) and then convert the TeX string to an Expression and convert that to a TeXNode.. and then insert that into the current node at the cursor position :)

@creativecreatorormaybenot
Copy link
Contributor

If anyone agrees that this would be necessary/useful, i.e. you want this feature, please give the original comment a >👍< 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants