Tablefild custom elements processor

Created on 12 May 2025, about 2 months ago

Problem/Motivation

Tablefield module needs a special processor for nice data export. Currently the formatted processor returns:

"\u003Cdiv id=\"tablefield-wrapper-node-77-field_tablefield-0\" class=\"tablefield-wrapper\"\u003E\n\n\n\u003Cdiv class=\"layer-wrapper gin-layer-wrapper\"\u003E\n      \u003Ctable id=\"tablefield-node-77-field_tablefield-0\" class=\"tablefield\" data-striping=\"1\"\u003E\n      \n      \n      \n              \u003Ctbody\u003E\n                                  \u003Ctr class=\"odd\"\u003E\n                              \u003Ctd class=\"row_0 col_0\"\u003ERow 0 column 0\u003C/td\u003E\n                              \u003Ctd class=\"row_0 col_1\"\u003ERow 0, column 1\u003C/td\u003E\n                          \u003C/tr\u003E\n                                  \u003Ctr class=\"even\"\u003E\n                              \u003Ctd class=\"row_1 col_0\"\u003E7 row 1, col 0\u003C/td\u003E\n                              \u003Ctd class=\"row_1 col_1\"\u003ERow and column both 1\u003C/td\u003E\n                          \u003C/tr\u003E\n                                  \u003Ctr class=\"odd\"\u003E\n                              \u003Ctd class=\"row_2 col_0\"\u003Row 2 col 0 01/2026\u003C/td\u003E\n                              \u003Ctd class=\"row_2 col_1\"\u003row and col both 2 03/2027\u003C/td\u003E\n                          \u003C/tr\u003E\n                  \u003C/tbody\u003E\n                \u003C/table\u003E\n  \u003C/div\u003E\n\u003C/div\u003E",

The whole table is stored in the first value of the field so when retrieving the data, keep that in mind.

Proposed resolution

Create a new field processor

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇸🇮Slovenia useernamee Ljubljana

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024