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

Ctrl+i, Ctrl+b, etc. inserts more *s instead of terminating italic or bold substring #8819

Open
1 of 2 tasks
bradmont opened this issue Mar 14, 2023 · 0 comments
Open
1 of 2 tasks
Labels
shortcuts :type/enhancement Enhancement to product. Does not affect the overall basic use.

Comments

@bradmont
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

When typing, I press ctrl+i to start typing in italics. logseq inserts two 's and moves the cursor between them, as with auto-closing parentheses or brackets. I type what I want to be italicized, then to close the italics, I press ctrl+i again to terminate the italiced string, as I would in a word processor. Instead of jumping to the right of the * (which is what happens if I type ''), logseq inserts two more *'s, and puts the cursor between them.

Reproduce the Bug

  1. Press ctrl+i while typing
  2. Type a string
  3. press ctrl+i again
  4. same behaviour happens with ctrl+b for bold, etc.

Expected Behavior

the second ctrl+i should move the cursor to the right of the final *, as if I manually typed *

Screenshots

No response

Desktop or Mobile Platform Information

Kde Neon, Linux app, 0.8.18

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@cnrpman cnrpman added shortcuts :type/enhancement Enhancement to product. Does not affect the overall basic use. labels Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shortcuts :type/enhancement Enhancement to product. Does not affect the overall basic use.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants