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

[CKEditor 5] Closing the settings dialog moves the selection to the beginning of the document #13

Open
Mgsy opened this issue Aug 6, 2019 · 1 comment

Comments

@Mgsy
Copy link

Mgsy commented Aug 6, 2019

Description

After closing the settings dialog, the selection is moved to the beginning of the document.

@jshaptala
Copy link
Member

We don't save the cursor position in the current state of the WProofreader implementation. The close dialog action executes internal browser focus method which sets the cursor position to the beginning of the document.

This behavior can be addressed as a part of the closer integration (plugin for CKEditor 5) by using internal methods of CKEditor 5 which work with saving and restoring 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