Custom Fields
Re-Envisioned
Support General The WYSIWYG has white color in the content and missing the toolbar when repeating

This topic contains 15 replies, has 5 voices, and was last updated by  Anh Tran 2 years ago.

  • Creator
    Topic
  • #4152

    leminhthienloc
    Participant

    There is a bug when I am using the WYSIWYG.
    The content is auto white color and there was no toolbar on the 2nd, 4th instance when repeating. Please check the screenshot at http://ctrlv.in/853867

Viewing 5 replies - 11 through 15 (of 15 total)
  • Author
    Replies
  • #4476

    Anh Tran
    Keymaster

    Hi, can you please post the code you’re using to register meta box? The old problem was resolved and I test with the original code in this thread again and it works.

    #4549

    Namennaj
    Participant

    I have the same issue with v1.1.6. Here is my code:

    $meta_boxes[] = array(
            'title'      => __( 'Legal Area Sections', 'textdomain' ),
            'post_types' => 'page',
            'include'   => array(
                'relation'    => 'OR',
                'template' => array( 'page-legal.php' ),
            ),
    		'fields'     => array(
    			array(
    				'name' => 'Section', // Optional
    				'id' => 'legal_section',
    				'type' => 'group',
    				'clone' => true,
    				// List of sub-fields
    				'fields' => array(
    					array(
    						'id'   => 'title',
    						'name' => __( 'Section Title', 'textdomain' ),
    						'type' => 'text',
    					),
                        array(
                            'id'   => 'content',
                            'name' => __( 'Section Content', 'textdomain' ),
                            'type' => 'wysiwyg',
                        ),
    					// Other sub-fields here
    				),
    			),
    		),
    	);
    #4550

    Namennaj
    Participant

    @rilwis Just to confirm, my WYSIWYG text is white and the toolbar is missing. See the code above. I am using the Metabox Updater plugin to keep my plug-ins up to date.

    #5719

    jroxbury
    Participant

    I have the same issue using:
    Metabox Version: 4.11
    Metabox Group Version: 1.2.1

    #5720

    Anh Tran
    Keymaster

    @jroxbury: Can you post your code?

    The code of @namennaj has a problem: he uses the field with id content, which is the same as the id of the main editor. The ID must be different and unique.

Viewing 5 replies - 11 through 15 (of 15 total)

You must be logged in to reply to this topic.