* Get the list of the `quicktags` buttons filter.
* @param string $quicktags_buttons Comma separated list of quicktags buttons.
return implode( ',', apply_filters( 'wpforms_builder_content_input_get_quicktags_buttons', $quicktag_buttons ) );
private function content_css_url(): string {
$min = wpforms_get_min_suffix();
return WPFORMS_PLUGIN_URL . "assets/css/builder/content-editor{$min}.css";
* Get content editor height.
* @retun int Editor textarea height.
private function get_editor_height(): int {
* Get content editor height filter.
* @param int $height Editor textarea height.
return (int) apply_filters( 'wpforms_builder_content_input_get_editor_height', 204 );
* Get allowed HTML tags for Content Input Field.
protected function get_allowed_html_tags(): array {
* Filter allowed HTML tags in the content field input.
* @param array $allowed_tags Allowed tags.
return (array) apply_filters( 'wpforms_builder_content_input_get_allowed_html_tags', wpforms_get_allowed_html_tags_for_richtext_field() );
private function get_editor_body_class(): string {
return 'wpforms-content-field-editor-body';