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

Reverted widespread editor.focus() usage back to editor.editing.view.focus() form #8414

Merged
merged 7 commits into from
Nov 5, 2020

Conversation

mlewand
Copy link
Contributor

@mlewand mlewand commented Nov 4, 2020

Suggested merge commit message (convention)

Revert: Reverted widespread editor.focus() usage back to editor.editing.view.focus() form. Closes #714.


Additional information

Per #714 (comment) though editor.focus() today always focuses the editing view - it's not said that it always will be.

It also brings back editor.editing.view.focus() mentions in the docs while also adding a mention editor.focus().

…ation.

Today we're always focusing the editable view, that's true - but at some point we might be focusing the UI parts.
@jodator
Copy link
Contributor

jodator commented Nov 5, 2020

I've added a bit more explanation to the editor.focus() docs. I've just stumbled upon this in #8415 (comment) and I think that having more docs links could help devs.

@jodator
Copy link
Contributor

jodator commented Nov 5, 2020

And as I have this checked-out I might review this as well.

# Conflicts:
#	packages/ckeditor5-widget/tests/widgetresize/_utils/utils.js
@jodator
Copy link
Contributor

jodator commented Nov 5, 2020

Sorry for the force-push... I've accidentally pushed my research on DLLs ( 😉 ).

@jodator jodator self-requested a review November 5, 2020 12:57
Copy link
Contributor

@jodator jodator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks, like we have all the reverts needed.

@Reinmar Reinmar merged commit 4cb8158 into master Nov 5, 2020
@Reinmar Reinmar deleted the i/714-revert branch November 5, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement editor.focus()
4 participants