Add a second replacement sequence to clean up ckeditor insert of   in empty div element.

Created on 17 March 2024, 8 months ago
Updated 24 March 2024, 8 months ago

Problem/Motivation

ckeditor 4 and ckeditor 5 have this annoying behavior to insert an   into an empty element. I have been asked by someone responsible for content to clean up a div with class of clearfix as it messes up his page formatting comming from another wysiwyg editor.

See the merge request on how it's done.

Add a second replacement sequence.
This time for clearfix.
see patch / MR

Steps to reproduce

See patch / MR

Proposed resolution

See patch / MR

Remaining tasks

Review and test patch / MR

User interface changes

Add new filter sequence

API changes

Add new filter sequence

Data model changes

N/A

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024