-
Notifications
You must be signed in to change notification settings - Fork 26
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
🐛 [#4012] Fix content component link popup in form builder #4331
🐛 [#4012] Fix content component link popup in form builder #4331
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4331 +/- ##
=======================================
Coverage 96.25% 96.26%
=======================================
Files 731 731
Lines 23741 23786 +45
Branches 2800 2803 +3
=======================================
+ Hits 22853 22898 +45
Misses 617 617
Partials 271 271 ☔ View full report in Codecov by Sentry. |
03d695f
to
92efbad
Compare
@sergei-maertens does this need backport? It doesn't seem like a huge issue, though I guess it would be nice to have it patched in previous versions |
Nah, it's annoying but doesn't seem to be too common? What I'm more interested in, is if we can't apply this patch in the form-builder repository instead of here - as I understand it, this node should be destroyed whenever the WYSIWYG editor gets unmounted? So it sounds more like it needs to be patched in a useEffect cleanup in https://github.com/open-formulieren/formio-builder/blob/main/src/registry/content/rich-text.tsx |
Ah yeah that seems like a more appropriate place, I didn't know we were using our own formio-builder 🤐. I'll look into it |
@sergei-maertens I have tried to fix this in the formbuilder with a useEffect hook, but haven't been able to get it to work. It seems that |
92efbad
to
e8606cf
Compare
because the WebformBuilder root was not unmounted after closing the modal, this did not work previously
e8606cf
to
0298990
Compare
Closes #4012
Changes
Checklist
Check off the items that are completed or not relevant.
Impact on features
Release management
I have updated the translations assets (you do NOT need to provide translations)
./bin/makemessages_js.sh.sh
./bin/compilemessages_js.sh
Commit hygiene