Ckeditor5: The `<figcaption>` inside table's `<figure>` is upcasted to `<paragraph>`

Created on 19 Jun 2018  路  3Comments  路  Source: ckeditor/ckeditor5

It's either a bug or a feature... but after ckeditor/ckeditor5#3194 the <figcaption> inside <figure class="table"> get upcasted to a <p>.

It's a "bug" as this not happened before and at the same time a "feature" as the content doesn't get lost :man_shrugging:.

You can check this in manual tests: https://github.com/ckeditor/ckeditor5-table/blob/master/tests/manual/table.html#L12-L14

is rendered:
selection_028

table invalid discussion bug feature

Most helpful comment

The famous part of documentation explains this :D
https://twitter.com/brandonkelly/status/1007404154753445888

All 3 comments

It's fine. We don't support captioned tables yet, so the fact that this figcaption ends as a paragraph is the only thing we can do.

The famous part of documentation explains this :D
https://twitter.com/brandonkelly/status/1007404154753445888

I reported a separate ticket for captions: https://github.com/ckeditor/ckeditor5-table/issues/66

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wwalc picture wwalc  路  3Comments

msamsel picture msamsel  路  3Comments

pjasiun picture pjasiun  路  3Comments

oleq picture oleq  路  3Comments

benjismith picture benjismith  路  3Comments