Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- TMS-1109: Change ContentColumns & CallToAction TextArea fields to Wysiwyg

## [1.59.7] - 2025-02-24

- TMS-1100: Show multiple locations for events if available
Expand Down
6 changes: 3 additions & 3 deletions lib/ACF/Fields/CallToActionFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ protected function sub_fields() : array {
->redipress_include_search()
->set_instructions( $strings['title']['instructions'] );

$description_field = ( new Field\Textarea( $strings['description']['label'] ) )
$description_field = ( new Field\Wysiwyg( $strings['description']['label'] ) )
->set_key( "{$key}_description" )
->set_name( 'description' )
->set_rows( 4 )
->set_new_lines( 'wpautop' )
->set_toolbar( [ 'bold', 'italic' ] )
->disable_media_upload()
->set_wrapper_width( 50 )
->redipress_include_search()
->set_instructions( $strings['description']['instructions'] );
Expand Down
6 changes: 3 additions & 3 deletions lib/ACF/Fields/ContentColumnsFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ protected function sub_fields() : array {
->set_wrapper_width( 45 )
->set_instructions( $strings['image']['instructions'] );

$description_field = ( new Field\Textarea( $strings['description']['label'] ) )
$description_field = ( new Field\Wysiwyg( $strings['description']['label'] ) )
->set_key( "{$key}_description" )
->set_name( 'description' )
->set_rows( 4 )
->set_new_lines( 'wpautop' )
->set_toolbar( [ 'bold', 'italic' ] )
->disable_media_upload()
->set_wrapper_width( 55 )
->redipress_include_search()
->set_instructions( $strings['description']['instructions'] );
Expand Down
Loading