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

Duplicate text getting pasted in two blocks #98

Open
kavir10 opened this issue Mar 18, 2023 · 3 comments
Open

Duplicate text getting pasted in two blocks #98

kavir10 opened this issue Mar 18, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@kavir10
Copy link

kavir10 commented Mar 18, 2023

Issue description:
When I am using either gpt or gpt-block commands it is creating two blocks with duplicate content

Steps to reproduce:

  1. Select any text, press Cmd+G and write the prompt

  2. Two blocks of duplicated content is visible

  3. Press Cmd+J in one block

  4. Two blocks of duplicated content is visible

Expected behavior:
Add only one block of content

Actual behavior:
Creates two blocks of duplicate content

Environment:
Updated the plugin to v1.9.0

Frequency and severity:
Each time when used and severity high

@kavir10
Copy link
Author

kavir10 commented Mar 18, 2023

I think it resolved when I shut Logseq and started again. But when I disable and enable the plugin, I get this error

image

@briansunter briansunter added the bug Something isn't working label Mar 18, 2023
@briansunter
Copy link
Owner

Looks like this happens on upgrading an existing version. It should go away if you reload logseq. Looking into how to fix it.

@kavir10
Copy link
Author

kavir10 commented Mar 21, 2023

Yeah it's not happening anymore after a few days, so would deprioritize this unless it is happening with others too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants