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

Latex area: Pasting to the clipboard does not work correctly #3873

Open
streetwriters bot opened this issue Nov 25, 2023 — with Huly for GitHub · 2 comments
Open

Latex area: Pasting to the clipboard does not work correctly #3873

streetwriters bot opened this issue Nov 25, 2023 — with Huly for GitHub · 2 comments
Labels
Status: Confirmed Bug is confirmed but work on a fix hasn't yet started. Type: Bug Something isn't working Unit: Editor Issues related to the editor

Comments

Copy link

streetwriters bot commented Nov 25, 2023

Pasting from my clipboard while editing a latex area does not work properly

Steps for reproduction:

  1. create a latex area: $$x$$
  2. leave the latex area
  3. edit the latex area and try to paste something (e.g. an x)

This expands the content of the clipboard to:
x

x

Device information:
App version: 2.6.11-2c635eb-web
OS: Windows 10 64-bit
Browser: Chrome 119.0.0.0
Pro: false

@somerandomusernamethatisavailable

That got messed up somehow...
Step 1: create a latex area (I don't know what these are actually called):
image

Step 2: Leave the latex area and edit it again

Step 3: Try to paste something like an "x" in
(this only seems to happen when I paste something I copied from another latex area)

This expands the x into html code for some reason:
image

@thecodrr
Copy link
Contributor

@somerandomusernamethatisavailable thank you for reporting this. I can reproduce this as well. The current math nodes (what you call latex area) are quite finicky to work with. I started work on a POC in #3025 that work much more reliably. I'll see if we can ship them soon.

@thecodrr thecodrr added Type: Bug Something isn't working Unit: Editor Issues related to the editor Status: Confirmed Bug is confirmed but work on a fix hasn't yet started. labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed Bug is confirmed but work on a fix hasn't yet started. Type: Bug Something isn't working Unit: Editor Issues related to the editor
Projects
None yet
Development

No branches or pull requests

2 participants