Problem/Motivation

Drupal CkEditor tables are not responsive out of the box, such as CkEditor 5 which solves responsive tables using `overflow-x: auto` on the figure element

See relevant ckeditor 5 issues that have been merged.

Steps to reproduce

Create a table within ckeditor, save the page and review source markup or use inspect tool the table element is not a child of a figure element.
Ckeditor demo https://ckeditor.com/ckeditor-5/demo/feature-rich/ creates a table wrapped in a figure element.
I confirmed this on my drupal setup and verified the results on http://simplytest.me/

Proposed resolution

Update Drupal version of ckeditor, or/and add the figure element to the table widget.

Comments

delmarr created an issue. See original summary.

cilefen’s picture

Version: 10.3.x-dev » 11.x-dev

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

lukasz.tyc’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Active

Don't see anything to review but there are other tickets for updating ckeditor did you search for those?

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.