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

Preserve cursor position on editor.cleanUp() #78

Closed
tremby opened this issue Aug 22, 2014 · 1 comment
Closed

Preserve cursor position on editor.cleanUp() #78

tremby opened this issue Aug 22, 2014 · 1 comment
Assignees

Comments

@tremby
Copy link
Contributor

tremby commented Aug 22, 2014

It would be great to have cursor position preserved when running editor.cleanUp().

Ideally if elements are removed the cursor would remain in the same position with respect to the text, rather than simply staying the same number of characters from the start of the field.

@pulges pulges self-assigned this Aug 23, 2014
@pulges pulges closed this as completed in 4951774 Dec 17, 2014
@starlocke
Copy link

I get the feeling that this no longer works, since the console logs this error when cleanUp() is invoked.

Rangy warning: Module SaveRestore: Marker element has been removed. Cannot restore selection.

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

No branches or pull requests

3 participants