- π·πΊRussia Chi
Tried to reproduce with "Who is new" block in Drupal 10. Got identical markup. Something might have been changed since this issue was reported.
Thank you.
I noticed that drupal_block() does not render identical html and attributes as adding a block via block layouts. I wonder if this could have downstream impacts.
1. Create a view
2. Add a block display
3. add exposed filters
4. turn ajax on.
5. Add block via {{ drupal_block('views_block:VIEW_MACHINE_NAME-VIEW-BLOCK-ID')}}
6. On a different page, add the block to a content region for a different node or content type. (Note: if you load the view block on the same page the exposed filters will conflict.
7. inspect the source for both blocks, notice class and id differences (note: use your browser's inspect source not dev tool source console. The latter cleans up html).
See below screen shot, the left is the twig template and the right is block layout. Here are the line items I find interesting:
Closed: cannot reproduce
3.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Tried to reproduce with "Who is new" block in Drupal 10. Got identical markup. Something might have been changed since this issue was reported.
Thank you.