Problem/Motivation

I created a code block in the editor and was unable to create a new line below it.

Other blocks in CKE use WidgetTypeAround to add the wrapper with buttons to add new lines above and below. https://ckeditor.com/docs/ckeditor5/latest/framework/guides/deep-dive/ui...

Code Blocks have documented ways to escape (hit enter 3 times on the last line), but most users won't see it: https://ckeditor.com/docs/ckeditor5/latest/features/code-blocks.html#tip...

There is an upstream issue for it: https://github.com/ckeditor/ckeditor5/issues/11852

Comments

mortona2k created an issue. See original summary.

Wim Leers credited lauriii.

wim leers’s picture

Issue summary: View changes
Status: Active » Postponed
Issue tags: +Usability, +Needs upstream bugfix

Discussed with @lauriii, this is indeed a usability bug. This can only be added upstream.

Thanks for linking to the upstream issue! 👍

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.