spatie / nova-translatable

Making Nova fields translatable
https://murze.be/making-nova-fields-translatable
MIT License
223 stars 28 forks source link

Nova Markdown field preview fails #103

Closed piotrku closed 6 months ago

piotrku commented 10 months ago

The XHR error returned is 404

POST http://site.test/nova-api/posts/field/translations_content_ar/preview?editing=true&editMode=update
[HTTP/1.1 404 Not Found 230ms]

I works fine on non translatable fields like:

http://site.test/nova-api/news/field/intro/preview?editing=true&editMode=update

And returns 404 on a translatable field content - the original query is (notice the transformed fieldname translations_content_en):

http://site.test/nova-api/posts/field/translations_content_en/preview?editing=true&editMode=update

But I tested different URLs for this field - none works:

http://site.test/nova-api/posts/field/translations_content/preview?editing=true&editMode=update
http://site.test/nova-api/posts/field/content_en/preview?editing=true&editMode=update
http://site.test/nova-api/posts/field/content/preview?editing=true&editMode=update
spatie-bot commented 6 months ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.

dariusmb commented 5 months ago

Hello. We are encountering the same issue where the preview of Markdown fields does not work after updating from Nova 3 to Nova 4. Is there any fix available for this issue?

chimit commented 3 months ago

This issue still takes place. Please, reopen it, @freekmurze

ugurdnlr commented 4 weeks ago

Hi, i have same issue. is there any solution for this ?

RRosalia commented 1 week ago

??