Account created on 2 June 2023, almost 2 years ago
#

Recent comments

Diff on the merge request fails, as the target branch should not have been changed to 6.0.x but left at 6.0.5

Patch added.

Great! I did have to change the selector syntax from:

item_selector: '/rss/channel/item[wp:post_type="attachment" and wp:attachment_url[contains(text(), "gif") or wp:attachment_url[contains(text(), "jpg") or wp:attachment_url[contains(text(), "jpeg"))]'

To:

item_selector: '/rss/channel/item[wp:post_type="attachment" and (contains(wp:attachment_url, "png") or contains(wp:attachment_url, "jpg") or contains(wp:attachment_url, "jpeg"))]'

I've made something that's not useable for the community; the patch is simply applicable for our own specific situation, however I still wanted to share. I've added a screenshot aswell.

It's a little patch and some custom CSS for Gin which we load in through a different module.

The custom CSS is super basic and looks like this:

#edit-field-paragraphs-add-more:has(> .field-add-more-submit.add-mode-button) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

#edit-field-paragraphs-add-more > .field-add-more-submit.add-mode-button {
  height: 4rem;
  font-size: 14px;
  padding-left: 4.4rem;
  text-align: start;
  background-size: 4rem;
  background-position: left;
  background-repeat: no-repeat;
}

#edit-field-paragraphs-add-more > .field-add-more-submit.add-mode-button:hover {
  color: var(--gin-color-primary);
  background-color: var(--gin-bg-header);
}

Not sure if this is the desired fix, but it works for us.

Strangely enough, I can't reproduce the error even after updating Guzzle HTTP, but in any case I made a fork and here's also a patch:

wotts β†’ made their first commit to this issue’s fork.

Heya, just wanted to drop in and say this is great! Works like a charm.

@jons this was an issue in drupal/gin:3.0.0-rc11 and fixed in rc12
Maybe you're using Gin too?

Hey!

This patch is in master, but unfortanetly we still experience this issue.
I tried a few things, but that doesn't work. Here's what I tried:

          $item['expand_link'] = [
            '#type' => 'link',
            '#title' => '(-) ',
            '#attributes' => [
              'data-disable-refocus' => ['true'],
              'data-refocus-blur' => ['true'],
            ],
            '#url' => $link_url,
            '#ajax' => [
              'wrapper' => $this->formIdAttribute,
              'disable-refocus' => TRUE,
            ],
          ];

Cheers!

Re-opening in hopes that you can up the tabindex and create a new version with also correct minified js.

cant figure out how to patch the correct minified js... :(

Patch #35 worked in conjunction with checking "Hide non translatable fields on translation forms" on the relevant paragraph(s).

We ran into the very same issue.
Confirmed that 5633.patch works and resolves this issue!

Production build 0.71.5 2024