{% extends '@bolt/editcontent/fields/_textarea.twig' %}
{% set keyClean = key|replace({ '-': '_', '.':'_', '[':'_', ']':'_', '{':'_', '}':'_' }) %}
{% block fieldset_controls %}
{% set attributes = {
text: {
class: (option.class ~ ' structured-content'),
data_errortext: option.errortext,
name: name,
required: option.required,
style: option.height ? 'height: ' ~ option.height ~ ';' : '',
}
} %}
{{ parent() }}
{# Gets the white list of blocks and transforms them to be passed to JS #}
{% set jsBlocks = field.blocks|join("','") %}
{# Packs the entire config #}
{% set extend = field.extend|json_encode %}
{% endblock fieldset_controls %}