Metaobject text fileds with html support?

Hey, maybe I am blind :grinning_face_with_smiling_eyes: But is there a metaobject with html support? I choose a rich text, but I cant there insert a table like this:

Thank you!

Hello @PetrK

Solution: Use a multi_line_text_field (or custom field) to store HTML
1.Go to your metaobject definition.

2.Add a field:

. Type: Multi-line text (or Single-line if short HTML)

. Name: e.g., ingredients_table_html

3.Paste your full HTML table into that field:

<table>

  <tr>

    <th>

Amount

</th>
<th>

</th>

  </tr>

  <tr>

    <td>

MG

</td>
<td>

375 mg (100%*)

</td>

  </tr>

  <tr>

    <td>

Vitamin D3

</td>
<td>

10 Β΅g (200%)*

</td>

  </tr>

  <tr>

    <td colspan="2">

*text

</td>

  </tr>

</table>

4.In your theme code, render it like this:

liquid

{{ metaobject.ingredients_table_html | raw }}

Important Notes:
. | raw is necessary to output HTML instead of plain text.

. Avoid using rich_text if you want control over HTML tables β€” it’s more for styled content like bold/italic/lists.

Thank you :blush: