Is it possible to customize blinking text cursor in a contenteditable="true" div tag?
Something like getting cursor position and putting a custom cursor on it, or any other trick?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I agree with Tim, I wouldn’t recommend it either.
However, here is a sample page with a
custom caretused in a<textarea>.. Just to give you an idea of how you can achieve this.I beleive this is the most basic implementation of a
custom caret.Good luck implementing this in a
contenteditable.. And I certainly hope this won’t be your next question (:p) !