Replies: 1 comment
-
Feel free to create a PR around this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using withFiles() to store images within a Trix field, the browser generates 404 errors when inserting the image (during edits). Example
The browser will try to call a POST URL
/nova-api/posts/field-attachment/translations_text_xx/{uuid of post}
for each language (where xx is the language code). These URLs don't exist.Workaround is to add hidden dummy fields for each language to ensure the URLs exist and nova can actually store the image file:
For this workaround to work the name of the dummy fields should be "
translations_<original fieldname>_<language code>
"This will need to be fixed in the code, or clear instructions can be added to the documentation.
Beta Was this translation helpful? Give feedback.
All reactions