DIV wrapped in P blocks styling

Created on 23 August 2023, over 1 year ago
Updated 6 December 2023, about 1 year ago

Problem/Motivation

When I create a new DIV with the plugin (starting with a blank editor), the result is wrapped in a P element. The result is still editable by the plugin, but it can't be styled with the styles dropdown.

Steps to reproduce

- Configure CKEditor 5 with the styles dropdown.
- Add a style like: div.blocky-block|Blocky block
- Save the text format.
- Create new page (or whatever, just make sure you use the text format)
- Add a DIV with the ckeditor_div_manager plugin
- Try to apply the style with the style-dropdown.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇳🇱Netherlands Web-Beest

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

Comments & Activities

Production build 0.71.5 2024