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
Text and images are not always saved by the first nor the second try. And you need to clear or delete/refresh the component & upload the image again or copy the text until it does save it. #240
Comments
@milesleif @silend I'll try to reproduce it, but please let me know if/when it happens again and how |
@mrzapp of course. We will shortly start another project and I will try to recreate the issue and give step-by-step description how to reproduce it. |
@milesleif Cool, keep the JavaScript console open too, there might be something worth reading there :) |
@mrzapp I was able to reproduce it: prerequisites
reproduction
workaround observations Unfortunately there is nothing in the browser console. But we can see that in the json data the value for the Content Base schema remains null until we use the workaround. conclusions It seems like the actual data is "blind" for the by-default-given richtText-editor when used in the context of ArrayEditor configured with at least one min-item. The tree in the json is created but it's not reflecting the then created input mask (which is, in this case, a richText-Editor). |
@milesleif that's some class A detective work, my friend! It's probably an event listener that's not hooked up in that specific case. I'll look into it. |
I'm pretty sure I fixed it, it was caused by the entire array (the field editor value) being null, so the changes weren't saved. The field editor did have a sanity check which cleared this up, but it didn't send the "silentchange" event when it applied the check. |
No description provided.
The text was updated successfully, but these errors were encountered: