ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Add support for cite attribute, cite tag and footer when using blockquote plugin

Open 2dareis2do opened this issue 2 years ago • 3 comments

When using ckeditor I would like the ability to support the blockquote tag with optional support for the cite attribute

ATM the markup generated when using ckeditor5 is like so:

<blockquote><p>test</p></blockquote>

But my feeling is it should be closer to the w3c recommendation.

e.g.

<blockquote cite="https://datatracker.ietf.org/doc/html/rfc1149">
  <p>
    Avian carriers can provide high delay, low throughput, and low altitude
    service. The connection topology is limited to a single point-to-point path
    for each carrier, used with standard carriers, but many carriers can be used
    without significant interference with each other, outside early spring. This
    is because of the 3D ether space available to the carriers, in contrast to
    the 1D ether used by IEEE802.3. The carriers have an intrinsic collision
    avoidance system, which increases availability.
  </p>
</blockquote>

it would also be great to add an optional footer. e.g.

<blockquote cite="https://www.huxley.net/bnw/four.html">
  <p>Words can be like X-rays, if you use them properly—they’ll go through anything. You read and you’re pierced.</p>
  <footer>—Aldous Huxley, <cite>Brave New World</cite></footer>
</blockquote>

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote


If you'd like to see this feature implemented, add a 👍 reaction to this post.

2dareis2do avatar Oct 11 '23 15:10 2dareis2do

Thanks for the request! Could you fix the examples? ~I think they don't render the way you wanted.~ I fixed them :blush:

Witoso avatar Oct 12 '23 07:10 Witoso

Thanks for updating. Probably should have said support for cite tag as well as attribute

2dareis2do avatar Oct 12 '23 11:10 2dareis2do

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Oct 11 '24 23:10 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Nov 11 '24 23:11 CKEditorBot