- Issue created by @keithlee_giai
- π°π·South Korea keithlee_giai
I just found that in layout builder edit mode -> Manage attributes -> Block / Block title / Block content attributes, all fields (ID, Class, Style, Data-*attributes) are empty. Do I have to specify what values should be pulled?
I am new to Drupal, and I am really new to Layout Builder, so it is only a guess, but for other modules that deal with block layout, whatever the setting I make in Drupal's native UI (ex. structure -> contents type -> Edit / Manage display), no settings were effective. I had to re-define any value in Layout Builder, especially the ones with 'Manage attributes'.
Just wonder if this might be related to Flippy not picking up any node. If so, can you plz help me what value I should use for Data-*attributes? (ID/Class/Style should follow typical HTML grammar, I assume.)
- πΏπ¦South Africa kanthan
It turns out that my nodes (migrated from Drupal 7) had langcode set to "und" while flippy was explicitly looking for system default langcode ("en") in my case. Once I changed langcode on my content to "en", it worked properly.
stretta:flippy kanthan$ ddev drush sql:query "SELECT DISTINCT langcode FROM node_field_data WHERE type = 'node_gallery_item';" und stretta:flippy kanthan$ ddev drush sql:query "UPDATE node_field_data SET langcode = 'en' WHERE type = 'node_gallery_item';" stretta:flippy kanthan$ ddev drush cr [success] Cache rebuild complete. stretta:flippy kanthan$ ddev drush sql:query "SELECT DISTINCT langcode FROM node_field_data WHERE type = 'node_gallery_item';" en
Doesn't really count as a bug in my book; just needs to be documented as a gotcha.