Home Support General HivePress After html update, editor won’t turn on

After html update, editor won’t turn on

  • Author
    Posts
  • Yliya 14

    Good day. After the last update, the html editor enable code stopped working. The checkbox is checked when adding an attribute, but it also does not appear. I checked it on three sites and from two browsers.

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

    Please try using this one instead:

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

    If this issue persists please send a link to this page and I’ll check it, there may be a JavaScript error that blocks the editor.

    Yliya 14

    Ссылка

    Without changes. I am sending the link.

    ihor developer

    Thanks for reporting this, seems to be a bug (in the latest version the header and footer sections are rendered before the content so the editor scripts are not loaded). There will be a quick update next week so this will be fixed.

    Yliya 14

    Excellent!

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

You must be logged in to reply to this topic.