[CKE5] Cite plugin should be mark element instead of container (widget)

Created on 3 July 2025, 10 days ago

Problem/Motivation

The cite plugin was added to the 6.1.x branch of WxT, although it is disabled by default. It is currently defined as a widget (container element) but this causes some issues. Since it is defined as a container element, it cannot be used inside of a mark element, like links. We want the cite plugin to function like the bold plugin, so it can be used on any text.

Steps to reproduce

If I have this markup:
<a href="/">This is some text and a cite element</a>

Then I try to make some text within the <a> element a cite, it renders this:
<a href="/">This is some text and a <cite><a href="/">cite element</a></cite></a>

I expect this:
<a href="/">This is some text and a <cite>cite element</cite></a>

🐛 Bug report
Status

Active

Version

6.1

Component

Code

Created by

🇨🇦Canada smulvih2 Canada 🍁

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

Comments & Activities

Production build 0.71.5 2024