Custom layouts are inserted correctly but do no work inside the editor

Created on 23 November 2023, 7 months ago
Updated 30 November 2023, 7 months ago

Problem/Motivation

For custom layouts the markup is inserted correctly. But the CSS for the layout is missing in the editor. When viewing the page after save the layout does work.

Steps to reproduce

TBD

Proposed resolution

Probably we need to check and fix the way the CSS for custom layouts is injected.

Remaining tasks

- Create MR
- Review MR
- Merge MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands ricovandevin

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

Comments & Activities

  • Issue created by @ricovandevin
  • Status changed to Closed: works as designed 7 months ago
  • πŸ‡³πŸ‡±Netherlands ricovandevin

    I think this actually depends on both the layout plugin and the theme and it is not something we can influence. If the layout plugin defines a library, it will be loaded. If one needs CKEditor to be styled in the frontend theme one needs to take care of this themselves. See https://www.drupal.org/node/3259165 β†’ for how this works differently for CKEditor 5 is compared to CKEditor 4.

Production build 0.69.0 2024