๐ | Drupal core | CKEditor 5 toolbar items of multi-value field (typically Paragraphs) overflowing on narrow viewports and overlapping with node form's sidebar on wide viewports
๐ฎ๐ณIndia yogen.prasad
This the Safari browser and CKeditor5 :
Fields are getting compressed.
๐ฎ๐ณIndia yogen.prasad
patch no #2 is working without any error. Can do RTBC
๐ฎ๐ณIndia yogen.prasad
comment no: #3 is working in my system.
Can move to RTBC
๐ | Drupal core | computed date property on a datetime field is unreliable and polluted by the field formatter if a user timezone is set
๐ฎ๐ณIndia yogen.prasad
I debug this issue and this is the root cause for the issue:
File: DateTimeFormatterBase.php
protected function buildDateWithIsoAttribute(DrupalDateTime $date) {
// Create the ISO date in Universal Time.
$iso_date = $date->format("Y-m-d\TH:i:s") . 'Z';
$this->setTimeZone($date);
$build = [
'#theme' => 'time',
'#text' => $this->formatDate($date),
'#attributes' => [
'datetime' => $iso_date,
],
'#cache' => [
'contexts' => [
'timezone',
],
],
];
return $build;
}
here line $this->setTimeZone($date);
is the reason for saving the invalid date.
๐ฎ๐ณIndia yogen.prasad
This patch 3364085-5.patch is working fine
๐ฎ๐ณIndia yogen.prasad
yogen.prasad โ made their first commit to this issueโs fork.