Home › Forums › Feature Requests › Drag Flexible Content layouts between parent Repeaters › Reply To: Drag Flexible Content layouts between parent Repeaters
Thanks for that Script!
It works great, but I have problems with saving the dragged layouts.
All layouts, which were dragged to the other fields, are lost after saving the post.
Have/had somebody the same issue?
I changed the JS to this for just dragging the layouts between the reusable fields:
connectWith: [ '[data-layout="1_col"] .values', '[data-layout="2_col"] .values' ]
I created a field group for all my modules. This field is reused in the columns as an flexible content field:
- flexible content for modules (using this fieldgroup for reusable field group) - text - image - ...
in the main groups:
- flexible content (1 col) - col: reusable field group (flexible content) - flexible content (2 cols) - first col: reusable field group (flexible content) - second col: reusable field group (flexible content)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.