- Issue created by @ivnish
- Status changed to Needs review
9 months ago 8:43am 3 April 2024 - 🇮🇳India sheetal-wish Indore
According CKEditor 5 library
The table cell vertical alignment
The following values, corresponding to the vertical-align CSS attribute, are allowed:
'top'
'bottom'
The 'middle' value is the default one so there is no need to set it.for reference please check here https://ckeditor.com/docs/ckeditor5/latest/api/module_table_tablecellpro...
I have checked it with Olivero which has
:is(.forum table,.text-content table,.views-table,.draggable-table) td, :is(.forum table,.text-content table,.views-table,.draggable-table) th { padding-block: var(--sp1); padding-inline-start: 0; padding-inline-end: var(--sp1); vertical-align: top; }
that's why on entity view data shows on top, if you check with another theme i.e. Claro it works fine so workaround can be override css in your theme.
- 🇬🇧United Kingdom alexpott 🇪🇺🌍
Moving to correct version - we fix things in 11.x first and then backport as necessary / possible.
- Status changed to Active
9 months ago 2:59pm 3 April 2024 - 🇺🇸United States smustgrave
Moving to active for the fix.
Not sure possible to provide any kind of tests but those would be needed if so.
- Merge request !7317changing css for verticle alignment for table rendered via ckeditor. → (Closed) created by sheetal-wish
- Status changed to Needs review
9 months ago 6:09am 4 April 2024 - Status changed to Needs work
9 months ago 6:49am 4 April 2024 The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- Assigned to ivnish
- Status changed to Needs review
9 months ago 1:04pm 5 April 2024 - 🇺🇸United States smustgrave
My only concern is this could break existing sites if they are using olivero
- ivnish Kazakhstan
Yes, I understand. We can commit only in 11.x. Upgrade from 10 to 11 will require reading documentation and changes any way
- Issue was unassigned.
- Status changed to RTBC
9 months ago 7:11am 8 April 2024 Hi
I've tested MR !7317 on Drupal 10. It looks fine and the patch applied successfully...
After applying the patch, it shows that the table cells are getting properly vertically center aligned!RTBC++
Attaching the before and after screenshots for reference
- 🇬🇧United Kingdom longwave UK
We don't promise backward compatibility in Olivero:
# This theme is marked as @internal. It is intended to evolve and change over # minor releases. # As the UI of Drupal improves between minor versions, the markup and assets in # the Olivero theme will change. The Olivero theme is not backwards compatible
I think this is fine to fix in 10.3.0, but we should probably keep it as-is in 10.2.x to avoid surprises for anyone who is using it.
- Status changed to Fixed
9 months ago 10:03am 8 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.