You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any idea of the effort in hours involved to provide support for snippets too? I'm guessing JS shouldn't be touched, only a new url pattern and a new view, could any maintainer confirm? So I can work in a pull request 😄
I'm looking into this as well. Here's what I'm finding so far:
copy_stream_fields.js will need to be updated, as it serializes the form using selector #page-edit-form. I think a more generic way to do this would be to select form using .content, i.e. serializedForm = $(".content > form").serializeArray();. This should limit it to the main form for Pages as well as Snippets.
return_translation_target_field_rendered_html view needs the app, model, and ID of the snippet and a few other tweaks (removal of .specific at least)
A similar need exists for Wagtail Settings objects, which work a bit differently (we need the site ID rather than an ID for the object).
The registered hook only captures this url right now
and correspondent view only works with Pages
The text was updated successfully, but these errors were encountered: