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

Cursor appears in wrong position when text in the editor is italicized. #1149

Open
pa-0 opened this issue Nov 7, 2024 · 3 comments
Open

Comments

@pa-0
Copy link

pa-0 commented Nov 7, 2024

Picture > 1000 words:

image

Notice the discrepancy between where highlighting begins between the matched selections and original selection. Also note that this effect spans beyond just highlighting. When typing, the cursor appears in one place (misleadingly) whereas typed text appears 2 spaces before the cursor. For the first few seconds of typing, I made a mess of the page before I realized what was going on 😆

@pa-0
Copy link
Author

pa-0 commented Nov 7, 2024

Closing this. I misadvertently chose Nerd Font of type "Proportional" instead of "Mono" so this was my fault. Apologies!

@pa-0 pa-0 closed this as completed Nov 7, 2024
@pa-0
Copy link
Author

pa-0 commented Nov 7, 2024

On a separate note, and I will create a separate issue for this if you like, but as a feature request, it would be nice if HTML meant to be parsed in Preview mode (rather than displayed as raw HTML) were excluded from the Markdown WSIWYG styling.

@pa-0 pa-0 reopened this Nov 20, 2024
@pa-0
Copy link
Author

pa-0 commented Nov 20, 2024

I spoke too soon on this. Even with a true mono font set for the Editor, the moment something is formatted as italic, i.e., The title of the book is *Moby Dick*, the caret and selection highlighting in the editor becomes off by 1 or 2 characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant