sheetal-wish โ made their first commit to this issueโs fork.
Has anyone found it's solution?
I am also getting the same issue.
sheetal-wish โ created an issue.
Checked with the versions you have mentioned on FF and Chrome on both it's working fine.
attaching screenshot!
Please check console or ws it may be due to some other issue.
I have reviewed and implemented changes as per patch. Looks fine now.
Marking this RTBC!!
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.
Hello Steve Hanson,
I have followed steps you have mentioned to reproduce issue.
on this step - Turn off the ability to have a custom layout for each node I am not able to do this step it does not allow to turn off this option without reverting node which has saved with custom layout on, I am not sure how you did it.
so here is the solution of your question - how in heavens name do I find the nodes that were set to have a custom layout so I can revert them?
You can write a custom script where you can find node is using custom layout or not for example:
$node = Node::load($nodeId);
$entity_display_repository = \Drupal::service('entity_display.repository');
$view_display = $entity_display_repository
->getViewDisplay($node->getEntityTypeId(), $node->bundle());
$display = $view_display
->getThirdPartySetting('layout_builder', 'allow_custom');
here $display will have value 1 if node is using custom layout.
Hi @Rahaf Albawab
This issue seems theme specific, in default themes it's working as expected.
@binnythomas,
I have tried with publication date module configured in the node, still no errors.
Hi @binnythomas,
I followed steps you have mentioned but I am not getting any issue on clicking preview it's redirected to preview page.
I have tried on Drupal 10.2, PHP 8.2
@binnythomas can you please mention steps to reproduce the error?
I have Added patch to fix.
sheetal-wish โ created an issue.
I have applied this patch and now it's D10 compatible but I am not able to download AMP library via composer it's showing me this error:
lullabot/amp[2.0.1, ..., 2.0.3] require guzzlehttp/guzzle ~6.1 -> satisfiable by guzzlehttp/guzzle[6.1.0, ..., 6.5.x-dev].
- lullabot/amp 2.0.0 requires sebastian/diff ^1.2 || ^2 || ^3 -> found sebastian/diff[1.2.0, ..., 1.4.x-dev, 2.0.1, 2.0.x-dev, 3.0.0, ..., 3.0.x-dev] but these were not loaded, likely because it conflicts with another require.
- guzzlehttp/guzzle[6.4.0, ..., 6.5.7] require guzzlehttp/psr7 ^1.6.1 -> found guzzlehttp/psr7[1.6.1, ..., 1.x-dev] but these were not loaded, likely because it conflicts with another require.
- guzzlehttp/guzzle 6.5.4 requires symfony/polyfill-intl-idn 1.17.0 -> found symfony/polyfill-intl-idn[v1.17.0] but these were not loaded, likely because it conflicts with another require.
- guzzlehttp/guzzle[6.5.8, ..., 6.5.x-dev] require guzzlehttp/psr7 ^1.9 -> found guzzlehttp/psr7[1.9.0, 1.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires lullabot/amp ^2.0 -> satisfiable by lullabot/amp[2.0.0, 2.0.1, 2.0.2, 2.0.3]
Can someone please help me to resolve this.
Thank you