Cannot use ckeditor styles with the accordions

Created on 27 August 2024, 3 months ago
Updated 2 September 2024, 3 months ago

Problem/Motivation

I'm not able to apply ckeditor styles for the ckeditor accordion due to change in the render of the accordion since the editor renders it as div in the editor interface...

Steps to reproduce

  • under the Administration > Configuration > Content authoring > Text formats and editors
  • add styles for the ckeditor5 text format configuration under styles section dl.ckeditor-accordion.red|Accordion Red
  • create a accordion in the ckeditor5 content section
  • styles cannot be applied to the accordion
  • On inspect while editing the content the accordion in the editor renders as div html tag
  • On save the source renders using dl dt dd html tags

Proposed Resolution

Maintain the structure in the editor render of the ckeditor accordion render array which was available for ckeditor 4

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇮🇳India Pemson18 Goa

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

Comments & Activities

Production build 0.71.5 2024