( ◞≼☸≽◟ ._ゝ◞≼☸≽◟)zcsdf吖 $this->applyFilter('./element.php', ['path']), 'name' => 'button_item', 'title' => 'Button', 'width' => 500, 'defaults' => [ 'button_style' => 'default', 'icon_align' => 'left' ], 'placeholder' => [ 'props' => [ 'content' => 'Button' ] ], 'templates' => [ 'render' => $this->applyFilter('./templates/template.php', ['path']), 'content' => $this->applyFilter('./templates/content.php', ['path']) ], 'fields' => [ 'content' => [ 'label' => 'Content' ], 'link' => $this->get('builder.link'), 'link_title' => $this->get('builder.link_title'), 'link_target' => [ 'label' => 'Link Target', 'type' => 'select', 'default' => '', 'options' => [ 'Same Window' => '', 'New Window' => 'blank', 'Modal' => 'modal' ] ], 'lightbox_width' => [ 'label' => 'Lightbox Width', 'attrs' => [ 'placeholder' => 'auto' ], 'enable' => 'link_target == \'modal\'' ], 'lightbox_height' => [ 'label' => 'Lightbox Height', 'attrs' => [ 'placeholder' => 'auto' ], 'enable' => 'link_target == \'modal\'' ], 'icon' => [ 'label' => 'Icon', 'description' => 'Pick an optional icon.', 'type' => 'icon' ], 'icon_align' => [ 'label' => 'Icon Alignment', 'description' => 'Choose the icon position.', 'type' => 'select', 'options' => [ 'Left' => 'left', 'Right' => 'right' ], 'enable' => 'icon' ], 'button_style' => [ 'label' => 'Style', 'description' => 'Set the button style.', 'type' => 'select', 'options' => [ 'Default' => 'default', 'Primary' => 'primary', 'Secondary' => 'secondary', 'Danger' => 'danger', 'Text' => 'text', 'Link' => '', 'Link Muted' => 'link-muted', 'Link Text' => 'link-text' ] ] ], 'fieldset' => [ 'default' => [ 'fields' => ['content', 'link', 'link_title', 'link_target', [ 'description' => 'Set the width and height for the lightbox content, i.e. image, video or iframe.', 'name' => '_lightbox_media_dimension', 'type' => 'grid', 'width' => '1-2', 'fields' => ['lightbox_width', 'lightbox_height'] ], 'icon', 'icon_align', 'button_style'] ] ] ];