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

createTextRange() is not function #406

Closed
phuongntit opened this issue Nov 24, 2015 · 5 comments
Closed

createTextRange() is not function #406

phuongntit opened this issue Nov 24, 2015 · 5 comments

Comments

@phuongntit
Copy link

capture

@Mottie
Copy link
Owner

Mottie commented Nov 24, 2015

Hi @phuongntit!

What version are you using? In the current version $.fn.caret is on line 2421.

Also, would you share the HTML of the element (is it a textarea or input? what type of input?) and the initialization code.

Is this related to #309? It is no longer possible to get the caret position of inputs of type email and number (ref).

@phuongntit
Copy link
Author

Hi @Mottie
I use version 1.18.12: http://plugins.jquery.com/keyboard/
I use span (or div) elements with css allow edit (mathquill-editable) to can input and display math operators.

@Mottie
Copy link
Owner

Mottie commented Nov 24, 2015

Sorry, contenteditable elements are not currently supported. See #208 & #258.

@phuongntit
Copy link
Author

Oh! Thanks for your comments.

@Mottie
Copy link
Owner

Mottie commented Nov 26, 2015

I'll update #208 when this gets implemented.

@Mottie Mottie closed this as completed Nov 26, 2015
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