How to add image tag in the html editor of the description in the listing page

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

this is the code that i have used to enable html editor but i am not able to add image tag in this editor

Yes, if you set “editor” to “true” then it uses the default TinyMCE editor settings, but you can pass an array of TinyMCE settings instead of “true”, for example wp_editor() – Function | Developer.WordPress.org Make sure to pass an array of settings directly, without the “tinymce” sub-array.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.