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 Position is Horribly Wrong #60

Open
ZachHandley opened this issue Oct 13, 2018 · 1 comment
Open

Cursor Position is Horribly Wrong #60

ZachHandley opened this issue Oct 13, 2018 · 1 comment

Comments

@ZachHandley
Copy link

Hey there,

I've got an issue using the cursor position where it's incredibly wrong. I typed in the following
123456789 123456789

My cursor was at the end and it said it was at 33

The format of my code is a contentEditable div with a

inside so I can create line numbers using the :before psuedoelement

Is there a reason why the cursor position is so wrong?

Thanks!

  • IAmDragon
@ilanbm
Copy link

ilanbm commented Nov 28, 2018

https://github.com/ichord/Caret.js/pull/61
#61
might be related

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

2 participants