Problem/Motivation

All filters applied to the text format in the ping pong body field should work.

Steps to reproduce

Setup a filter like responsive_filter_table for any Text formats
Create a node that uses the layout builder and add a ping block.
Choose the text format configured above for the body field and add a table.
Expected results: Table should be wrapped by the filter applied, by default, a figure tag with responsive-figure-table class.
Actual result:
actual result

Proposed resolution

Update the template block--ixm-blocks-ping-pong.html.twig to render the field using view filter.
Like: {{ item['#paragraph'].field_body|view }} instead of {{ item['#paragraph'].field_body.value|raw }}

Remaining tasks

Check for other templates that also render like the example above.

Issue fork ixm_blocks-3512870

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joaopauloc.dev created an issue. See original summary.

joaopauloc.dev’s picture

Assigned: joaopauloc.dev » Unassigned
StatusFileSize
new23.7 KB

After patch applied
fixex result
The filter was executed and wrapped the table with success.

joaopauloc.dev’s picture

StatusFileSize
new764 bytes

Forgot the patch :)

aaronchristian made their first commit to this issue’s fork.

aaronchristian’s picture

Status: Active » Fixed
aaronchristian’s picture

aaronchristian’s picture

Status: Fixed » Closed (fixed)