Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve getLocaleFromCode #42

Merged

Conversation

Kiwikoti
Copy link
Contributor

@Kiwikoti Kiwikoti commented Oct 8, 2024

In case the form is from a richEditor we need to retrieve the locale differently because we don't have access to the initial sylius_translations form.
This way the form created as uiElement with RichEditor can use the UrlType defined in the menu plugin in order to select a target of a link.

see monsieurbiz/SyliusRichEditorPlugin#244

@madamebiz madamebiz added the quick win Easy to pick, everybody will be happy. label Oct 8, 2024
@madamebiz madamebiz added Status: needs review Needs review labels Oct 8, 2024
@maximehuran maximehuran merged commit 4e5d44a into monsieurbiz:master Oct 8, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quick win Easy to pick, everybody will be happy. Status: needs review Needs review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants