Skip to content

FEATURE: Enable table captions in CKEditor #3727

Open
@so-grimm

Description

@so-grimm

Description

The formatting options for the inline editor (Neos.Neos:Editable) offer an option for adding tables. Adding a table creates a <figure> tag. With the way this is currently set up, it is not possible to add a <figcaption> inside the <figure>.
However, the CKEditor does provide a feature for table captions, which is not yet integrated in Neos. It would be great to add this feature.
https://ckeditor.com/docs/ckeditor5/latest/features/tables/tables-caption.html

Steps to Reproduce

  1. Add a text module which has set editorOptions: { formatting: { table: true } }
  2. Add a table

Expected behavior

Once a table is added and the new buttons for the table appear in the toolbar, there should be another button for adding a table caption. The table caption is inline editable.

Actual behavior

No table caption can be added.

[What actually happened]

Affected Versions

Neos: 8.3

UI: 8.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    9.0FeatureLabel to mark the change as feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions