Join our new community forum for support & discussion

Join Now

Home Support Themes TaskHive Textarea Listing Description formatting

Textarea Listing Description formatting

  • Author
    Posts
  • inesbtome

    Hello

    Is there any code I can apply to make the textarea of the description in the listing to have formatting options for the text, like bold, italic, ect?

    Thank you

    yevhen developer

    Please try this PHP snippet

    add_filter(
    	'hivepress/v1/models/listing',
    	function( $model ) {
    		$model['fields']['description']['editor'] = true;
    		$model['fields']['description']['html'] = true;
    
    		return $model;
    	},
            1000
    );
    inesbtome

    Thank you yevhen. Just what I need it 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.