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

Nova Markdown File upload #111

Open
Kixell-NicolasJardillier opened this issue Oct 17, 2023 · 1 comment
Open

Nova Markdown File upload #111

Kixell-NicolasJardillier opened this issue Oct 17, 2023 · 1 comment

Comments

@Kixell-NicolasJardillier
Copy link

Kixell-NicolasJardillier commented Oct 17, 2023

Hi,

on a field Mardown wtih upload file allowed :
Markdown::make('Description')->alwaysShow()->translatable()->withFiles('s3')->rules(['required'])
The url to the upload return a 404.
Without ->translatable() it works

Best

@piotrku
Copy link

piotrku commented Jan 30, 2024

Confirming, preview also does not work - the issue is with the URL when translations are active.
The problem exists for both Trix and Markdown type fields.

Example of correct URLs (with translations off)
http://example.test/nova-api/posts/field/content/preview?editing=true&editMode=update
http://example.test/nova-api/posts/field-attachment/content

And now 404 with translations on:
http://example.test/nova-api/posts/field/content.en/preview?editing=true&editMode=create
http://example.test/nova-api/posts/field-attachment/content.en

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants