Content not save HTML

Support MB Frontend Submission Content not save HTML

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7383
    linux@piramedia.it[email protected]
    Participant

    Hi
    This is my code

    <?php 
    $form = '[mb_frontend_form id="gestione_prodotti_ok" post_fields="title, content, thumbnail" post_id="'.$_GET[pid].'"]';
    echo do_shortcode( $form );
    ?>

    ...

        $meta_boxes[] = array(
            'id'         => 'gestione_prodotti_ok',
            'title'      => __( 'Gestione Prodotti', 'textdomain' ),
            'post_types' => array( 'prodotti' ),
            'context'    => 'normal',
            'priority'   => 'high',
    		'fields' => array(
    			array(
    				'name' => __( 'Categorie', 'textdomain' ),
    				'id'   => 'categorie_prodotti2',
    				'type' => 'select',
    				'options' => $myarray
    			),
    			array(
    				'id' => $prefix . 'tag_prodotti',
    				'type' => 'text',
    				'name' => esc_html__( 'Tag', 'metabox-online-generator' ),
    				'desc' => esc_html__( 'Separate values by comma', 'metabox-online-generator' ),
    				'placeholder' => esc_html__( 'Separate values by comma', 'metabox-online-generator' ),
    			),
    			
    		),
            
        );
        // 2nd meta box
        
        return $meta_boxes;

    Where $myarray is a custom function.

    Content field show wysiwyg editor, but if i add a media or put some style (bold, italic etc..) and save, "content" lose everything and save only text.
    I want to preserve the html.
    Can you help me?

    #7401
    linux@piramedia.it[email protected]
    Participant

    Please, can you help me?

    Daniele

    #7419
    Anh TranAnh Tran
    Keymaster

    Hi Daniele,

    I'll look at the problem now and will fix it soon. Thanks for reporting.

    #7430
    Anh TranAnh Tran
    Keymaster

    Hi Daniele,

    I've just fixed the extension. Please update to version 1.1.2.

    Thanks,
    Anh

    #7457
    linux@piramedia.it[email protected]
    Participant

    Please check the download link of MB Frontend: i have downloaded the old version

    Daniele

    #7466
    Anh TranAnh Tran
    Keymaster

    Hi Daniele,

    I've just fixed the download link. Please try again. Thanks for your feedback!

    #7475
    linux@piramedia.it[email protected]
    Participant

    Tnks! Problem solved!

    Best Regards

    Daniele

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Content not save HTML’ is closed to new replies.