Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In Drupal, fields can have multiple fields. (I am talking about the built in Drupal fields, and not those provided by modules such as Field Collection).
When I use one of these fields with Bue Editor, the BueEditor buttons appear. However, when I click on "Add another item" the buttons disappear.
How can I fix this?
Comments
Comment #1
Linus CreditAttribution: Linus commentedYou need to add system/ajax in the visibility settings of BUEditor, because the multi-value fields are loaded via ajax.
Comment #2
dwwThis is still happening in D8. All the BUEditor buttons disappear as soon as you trigger any AJAX events on a form. Seems like a fairly major UI bug, if not critical. There are no visibility settings in D8 so the suggestion in #1 no longer applies to D8.
Comment #4
ufku CreditAttribution: ufku commentedIt seems editor module is triggering "detach" callback with "serialize" key on ajax calls. Not sure why detach is triggered instead of "onChange". Added a fix anyway.
Comment #5
dwwAmazing, thanks! Great timing that this made it into the 8.x-1.1 release, too. Tested and it's working great.
Thanks, again!
-Derek