-
-
Notifications
You must be signed in to change notification settings - Fork 603
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 is not at the right site #314
Comments
Hello |
@huangjiatian @RTKSoftware i found this tweet that might help you https://twitter.com/Maluen0/status/862636368857583616 Sounds like the exact issue with the soultion |
I had this issue when the font-size in CSS was a differing value than the one I passed to the editor props. Resolved the issue by removing the font-size from the CSS. |
Same issue. Please fix. Or provide a way to fix. |
@MaximusDesign I also had this issue and found that ace is relying on monospace fonts. I found I could resolve by either setting the font in the editor to a monospace font or simply We're using styled-components so our solution looks like this.
|
I used a similar issue when deleting or adding to the editor the cursor is 4 spaces from the actual position. Similar to @MatthewLarner we used
|
i got the same issue,but all way above does not work,then i search the solution from the origin ace, |
Setting the font family half solved the issue for me. The quotation marks were still problematic. I used this for complete solution: .ace_editor,
.ace_editor * {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Droid Sans Mono', 'Consolas', monospace !important;
font-weight: 400 !important;
letter-spacing: 0 !important;
} |
Hi,all
I found the cursor is not all the right site
how can i fix it
The text was updated successfully, but these errors were encountered: