Problem/Motivation

It would be beneficial if the editor is foucsed again after inserting a shy break. Right now the focus is outside the editor and one need to click back in the editor to continue writing.
The CKEditor4 plugin does something like that I suppose: https://git.drupalcode.org/project/shy/-/blob/e6c658b5a20d2969250fa820c6...

Steps to reproduce

Add a shy break and note that you are outside of editor and cannot immediately continue writing in editor.

Proposed resolution

Do it like "How to focus the editor?"

Remaining tasks

  • Create patch
  • Review

User interface changes

editor gets focused after inserting shy break

API changes

na

Data model changes

na

Comments

stefan.korn created an issue. See original summary.

stefan.korn’s picture

Status: Active » Needs review
StatusFileSize
new506 bytes
i-trokhanenko’s picture

Status: Needs review » Reviewed & tested by the community

Works well for me. Thanks!

  • i-trokhanenko committed a0880751 on 2.0.x
    Issue #3409019 by stefan.korn, i-trokhanenko: Focus the editor again...
i-trokhanenko’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.