wdburgdorf
Please have a look at function styleLanguageSwitcher() in
wp-content/plugins/sitepress-multilingual-cms/classes/block-editor/Loader.php
Could that not be somewhat related to it?
Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
Hi Ralf,
Thank you very much for your feedback.
Can you add the custom language switcher to the sandbox site? That way we can take a deeper look and check if there is something buggy on our code 🙂
wdburgdorf
Sorry, Carlos, it is indeed not the Custom switcher, but the switcher Gutenberg block.
I will add that to your site now.
wdburgdorf
There you go: hidden link
Same as on my site, including inline styles.
Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
Thanks!
Quick question: You just added the Gutenberg block with the language switcher, no additional code, correct?
wdburgdorf
Yes, no code, I'm not cheating ...
I changed block settings, so it looks more like mine, and switched on the second language in the switcher setting. I'm sure that has nothing to do with the code. You can just delete that switcher and add it again, it will be the same.
Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
Thank you very much!
I was able to reproduce the issue, and I have escalated this ticket to our 2nd tier of support, where our 2nd tier specialists will take a deeper look at this issue.
We will keep you updated on the evolution of this ticket.
Thank you very much for your patience and understanding!
wdburgdorf
Thanks a lot for your efforts, Carlos!
I can wait, this is not breaking anything ... just somehow bugging me ...
Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
Hi there!
This is Paola and I will continue with the ticket as Carlos is on holidays.
The issue has been escalated to the second tier.
I will let you know when I have some news.
Thanks.