Import / export CSV not work with text format (wysiwyg)

Created on 30 January 2023, almost 2 years ago
Updated 2 June 2023, over 1 year ago

Problem/Motivation

When you select a Filtered text in field configuration, the import/export CSV return un file with 'array' in cell et not the value because textarea introduce one level supp.
Text processing = 'me text';

Textarea processing = [
  'value' =>  'my_text',
  'format' => 'html_format' 
];

Steps to reproduce

After applying patches https://www.drupal.org/files/issues/2022-08-04/wysiwyg_support_3076448_3... (3076448 - WYSIWYG support on each table cell for better content experience)

Try to import or export your data from a table field

Proposed resolution

I check the field definition to get value of cell_processing settings and handle the exported row to get the value in the textarea and handle the case of textarea.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France egruel

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

Comments & Activities

Production build 0.71.5 2024