Problem with the q tag

Created on 2 July 2024, 2 months ago
Updated 24 July 2024, about 2 months ago

Problem/Motivation

I use the q tag a lot for annotations, captions, etc.
When I insert the q tag, ckeditor 5 adds more every time it encounters another tag.

Steps to reproduce

- I write the text with ckeditor 4.
- I insert the q tag and save.
The source code has not changed:

<p>
<q>Lorem ipsum dolor sit amet consectetuer id velit dui <strong>Quisque </strong>at.<br />
Phasellus <strong>fames </strong>massa Duis urna gravida Nam elit pellentesque tempor <em>pretium</em>.<br />
Consequat id <u>Curabitur </u>sem sem Phasellus et Nulla.</q>
</p>

- I copy the same text into ckeditor 5 and save.
The source code has changed:

<p>
    <q>Lorem ipsum dolor sit amet consectetuer id velit dui <strong>Quisque </strong>at.</q><br>
    <q>Phasellus <strong>fames </strong>massa Duis urna gravida Nam elit pellentesque tempor </q><em><q>pretium</q></em><q>.</q><br>
    <q>Consequat id <u>Curabitur </u>sem sem Phasellus et Nulla.</q>
</p>

I don't know if this is intentional or a bug, but this way I can't apply the css to the q tag correctly.

Is it possible to solve it?

Thanks and best regards

🐛 Bug report
Status

Active

Version

10.3

Component
CKEditor 5 

Last updated 2 days ago

Created by

🇮🇹Italy giordy

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

Comments & Activities

Production build 0.71.5 2024