- Issue created by @bram.velthoven
- π³π±Netherlands Johan den Hollander
I took a shot at creating a patch that seems to do the job!
I looked at some lines from the paragraphs_asymmetric_translation_widgets module and added an extra check to make sure that module exists and applied these lines in the paragraphs_previewer module.
- Status changed to Closed: won't fix
8 months ago 10:33pm 3 April 2024 - πΊπΈUnited States recrit
This is not an issue with the paragraphs previewer module. The paragraphs previewer module simply provides a field widget for paragraphs fields that extends the paragraphs module's field widget. The reported expected behavior is only for when the "\paragraphs_asymmetric_translation_widgets is used
.
Default / Expected behavior when only using the paragraphs module with translations: Paragraphs cannot be re-ordered or added for the translation.If the paragraphs module natively supports asymmetric translations in the future, then the paragraphs preview module will as well since it extends the paragraphs widget. Until then, you can handle this in custom code for your site build by implementing a hook_field_widget_info_alter() and change the "class" for the "paragraphs_previewer" widget to your custom class.