Quote block: Using cite elements in quoted content causes block to become invalid. #11652
Labels
[Block] Quote
Affects the Quote Block
[Feature] Block Transforms
Block transforms from one block to another
[Type] Question
Questions about the design or development of the editor.
The issue
If you insert a
<cite>
element into the quoted content of a Quote block, the block becomes invalid.Reproduction steps
<cite>Book Title</cite>
to the quoted content (in the<p>
element).Alternatively, just paste this into your post while using the Code Editor:
Suggested fix
Currently, the citation of the Quote block is simply a
<cite>
following the last<p>
. I think that instead, the citation should be a<cite>
nested in a<footer>
after the last<p>
. This would allow<cite>
tags to be used outside of the citation of the Quote block, for use cases such as marking a book or game title. This would also be more semantically correct. Please check out the following:The text was updated successfully, but these errors were encountered: