Content of grid is editable

Created on 5 June 2023, about 1 year ago
Updated 3 August 2023, 11 months ago

Problem/Motivation

Steps to reproduce

- Drupal 10, default theme
- Install/enable module, add to CKEditor
- Create some content, add Bootstrap grid to the body of content, add some text, save
- Go to content page as editor or as ANON user (browsers used: Chrome, Safari, FireFox)

Content is displayed in an editable div (see video of the issue β†’ ).

The issue is div has attribute contenteditable="true" see reference: Mozilla docs - contenteditable
see screenshot:

Proposed resolution

Remove any CKEditor-related classes and attributes before rendering content

This issue is very significant for D10/CKEditor 5.

Maybe implement Bootstrap Grid like this https://www.drupal.org/project/ckeditor_accordion β†’ ?

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia jannakha Brisbane!

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

Comments & Activities

Production build 0.69.0 2024