Misleading spacing after CKEditor fields

Created on 14 July 2023, over 1 year 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 over 1 year 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.71.5 2024