Enabling the plugin pack removing the list style selection dropdown

Created on 29 August 2024, 4 months ago

Problem/Motivation

After installing the module or sub-modules of ckeditor5_plugin_pack the ;list style type options getting removed.

Before

After

Steps to reproduce

Download the module with composer and install any module from plugin pack and add to CKEditor

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇮🇳India vipul tulse

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

Comments & Activities

  • Issue created by @vipul tulse
  • Status changed to Postponed: needs info 4 months ago
  • 🇵🇱Poland dolszewski

    Hello @vipul-tulse

    Have you used other contrib module for lists before? In the plugin pack, we don't change any configuration related to lists so I'm not sure if this is caused by plugin pack module.

  • Status changed to Active 4 months ago
  • 🇮🇳India vipul tulse

    Yes I have used ckeditor liststyle earlier, but then Drupal 10.3.0 includes the list style type option into core, so removed contrib module.
    Unless I install the plugin pack module it is working fine, once I'm installing the module it removing the style.

  • Status changed to Postponed: needs info 4 months ago
  • 🇵🇱Poland dolszewski

    @vipul-tulse

    Can you provide the source of information that in the 10.3.0 list styles are included?
    In the core source, you can see that styles are disabled: https://git.drupalcode.org/project/drupal/-/blob/10.3.x/core/modules/cke...

  • 🇵🇱Poland salmonek

    I took a look at this issue and as dolszewski mentioned currently in core the styles config option which enables list styles is set statically to false, this is same in 11.0.x and 11.1.x

    There is a ticket related to this functionality: https://www.drupal.org/project/drupal/issues/3274635 [upstream] Use CKEditor 5's native and UX Needs work
    I've tested patch from https://www.drupal.org/project/drupal/issues/3274635#comment-15670807 [upstream] Use CKEditor 5's native and UX Needs work on Drupal 10.3.1 and it worked fine with all Plugin Pack plugins:

    Please provide info how are you setting list styles in Drupal and optionally which of Plugin Pack's modules breaks it.

Production build 0.71.5 2024