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

Empty forms to avoid duplicate ids when multiple editors #258

Merged

Conversation

maximehuran
Copy link
Member

@maximehuran maximehuran commented Jan 31, 2025

Empty forms to be sure we don't have duplicates IDs when we have multiples editors in the same element :

image

The Ui Element is not in the plugin directly

@madamebiz madamebiz added the quick win Easy to pick, everybody will be happy. label Jan 31, 2025
@madamebiz madamebiz added the Status: needs review Status: needs review label Jan 31, 2025
@jacquesbh
Copy link
Member

Is there really no risk about having glitches in UI?
Or even are we really sure this fix works for all nested forms? Like having a rich editor in a rich editor in a rich editor… Since in that case we could have many forms…

What is the main issue that you have? Cannot we fix the related issue by using another trick?

@maximehuran
Copy link
Member Author

Is there really no risk about having glitches in UI? Or even are we really sure this fix works for all nested forms? Like having a rich editor in a rich editor in a rich editor… Since in that case we could have many forms…

What is the main issue that you have? Cannot we fix the related issue by using another trick?

I have tested that cases

@maximehuran maximehuran merged commit 663bc49 into monsieurbiz:master Feb 5, 2025
15 checks passed
@maximehuran maximehuran deleted the feature/multiple-editors branch February 5, 2025 12:40
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 Status: needs review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants