Focus the editor again after inserting shy break

Created on 15 December 2023, about 1 year ago

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

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024