Hello,
I started using Beaver Builder plugin and i have question.
I’m trying to make custom slick slider module for BB. Every slide should have Image, Title and text content (i would like it to be editor field since i will have h3, p, ul, strong, etc)
I’ve made separate plugin, everything works good except i can’t register multiple editor fields.
I have multiple fields for Image and Title, but editor field doesn’t give me an option to add more fields
Can someone help me? Below is my code
FLBuilder::register_module('BBSlickSlider', array(
'general' => array( // Tab
'title' => __( 'Media', 'fl-builder' ), // Tab title
'sections' => array( // Tab Sections
'general' => array( // Section
'title' => __( 'Media Settings', 'fl-builder' ), // Section Title
'fields' => array( // Section Fields
'banner_image' => array(
'type' => 'photo',
'label' => __('Banner Image', 'fl-builder'),
'show_remove' => false,
'multiple' => true,
),
'banner_title' => array(
'type' => 'text',
'label' => __( 'Banner Title', 'fl-builder' ),
'default' => '',
'placeholder' => __( 'Enter Title', 'fl-builder' ),
'class' => 'slider-image-text__banner-title',
'multiple' => true,
),
'banner_text_content' => array(
'type' => 'editor',
'label' => __( 'Text Content', 'fl-builder' ),
'default' => '',
'placeholder' => __( 'Enter Text', 'fl-builder' ),
'multiple' => true,
),
),
),
),
),
));