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

Created on 30 January 2023, over 1 year ago
Updated 2 June 2023, about 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.69.0 2024