CKEditor 5 dropdown styles empty

Created on 12 April 2023, over 1 year ago
Updated 3 May 2023, over 1 year ago

Problem/Motivation

I have defined styles in CKEditor 5 for a text format.

For example:
h2.bigger|H2 Bigger text

Saved the format. No errors.

But when I try to use CKEditor in a text field, the styles dropdown is empty.

๐Ÿ› Bug report
Status

Closed: works as designed

Version

10.1 โœจ

Component
CKEditor 5ย  โ†’

Last updated 31 minutes ago

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain taote

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

Comments & Activities

  • Issue created by @taote
  • ๐Ÿ‡ฒ๐Ÿ‡บMauritius Arun.B

    Arun.B โ†’ made their first commit to this issueโ€™s fork.

  • Assigned to shailja179
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia shailja179 India

    Hi taote,
    I tried to reproduce this issue but its working fine for me in Drupal 10. Can you provide steps to reproduce the issue?
    Here is the screenshot of my instance.

  • Status changed to Needs review over 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia shailja179 India
  • Status changed to Postponed: needs info over 1 year ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Just tested this on a fresh 10.1 install and did not notice the problem.

    The screenshot I don't see the styles button enabled?

    Also the style you are using is for an H2 so it wouldn't become available until an H2 is placed in the editor.

    Removing credit for Arun.B for the empty commit.

  • ๐Ÿ‡ช๐Ÿ‡ธSpain taote

    smustgrave you are right, my fault. The problem was that the cursor wasn't positioned on an element that could be styled. I'm used to CKEditor4, where I don't think this happens. Sorry.

  • Issue was unassigned.
  • Status changed to Closed: works as designed over 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia shailja179 India
Production build 0.71.5 2024