Misleading spacing after CKEditor fields

Created on 14 July 2023, 12 months ago

Problem/Motivation

Using the Gin admin theme, when a field with text formats has a description, the description text visually appears closer to the next field. This can be misleading and make the editor think the description text belongs to the next field.

Steps to reproduce

Create the following fields, each with field descriptions.

  • Create a longtext field
  • Create a text field. Place it under the long text field in form display
  • Add a node and compare the spacing to the attached screenshot.

Proposed resolution

Improve the position/spacing of the description text when used on a field with CKEditor/Text formats available. Either by increasing the margin after the description, or moving it up closer to the CKEditor field.

Remaining tasks

  • Confirm solution.

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Closed: works as designed

Component

User interface

Created by

πŸ‡¬πŸ‡§United Kingdom Hebl

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

Comments & Activities

  • Issue created by @Hebl
  • πŸ‡¬πŸ‡§United Kingdom Hebl
  • πŸ‡¬πŸ‡§United Kingdom Hebl
  • Status changed to Closed: works as designed 12 months ago
  • πŸ‡¨πŸ‡­Switzerland saschaeggi Zurich

    Hey @Hebl πŸ‘‹

    This is the default behavior of the CKEditor field in Drupal. There is a container which is empty if you restrict the text format to one.

    With text format:

    Without text format:

    Unfortunately this is not something we can address in Gin. You might want to either move this issue to the Core issue queue or open a new issue in the Core issue queue.

    I'm closing this as works as designed.

Production build 0.69.0 2024