' . $value . ''; $output .= '

' . sprintf( __( 'Field type is changed from "textarea_html" to "textarea", because it is already used by %s field. Textarea_html field\'s type can be used only once per shortcode.', 'js_composer' ), $vc_html_editor_already_is_use ) . '

'; } elseif ( function_exists( 'wp_editor' ) ) { $default_content = $value; // WP 3.3+ ob_start(); wp_editor( '', 'wpb_tinymce_' . $settings['param_name'], array( 'editor_class' => 'wpb-textarea visual_composer_tinymce ' . $settings['param_name'] . ' ' . $settings['type'], 'media_buttons' => true, 'wpautop' => false, ) ); $output_value = ob_get_contents(); ob_end_clean(); $output .= $output_value . ''; $vc_html_editor_already_is_use = $settings['param_name']; } return $output; }