The WYSIWYG has white color in the content and missing the toolbar when repeating
Support › General › The WYSIWYG has white color in the content and missing the toolbar when repeating
- This topic has 15 replies, 5 voices, and was last updated 8 years ago by
Anh Tran.
-
AuthorPosts
-
September 27, 2016 at 5:43 PM #4152
leminhthienloc
ParticipantThere 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/853867September 27, 2016 at 10:28 PM #4156Anh Tran
KeymasterAre you using the Group extension? Please post your code to register meta boxes.
September 29, 2016 at 1:32 AM #4167leminhthienloc
ParticipantHere is the code. Yes, actually, I like to have a group of announcements inside of a company. Each announcement like a post with html including images and other shortcode support (such as embed video).
$meta_boxes[] = array( 'id' => 'company_announcements', 'title' => __( 'Company Announcements', 'imp' ), 'post_types' => array( 'company'), 'context' => 'normal', 'priority' => 'low', 'fields' => array( array( 'id' => $prefix.'company_announcement', 'name' => __( 'Announcement', 'imp' ), 'type' => 'group', 'clone' => true, 'size' => 100, 'fields' => array( array( 'id' => $prefix.'company_announcement_title', 'name' => __( 'Title', 'imp' ), 'type' => 'text', 'size' => 60 ), array( 'id' => $prefix.'company_announcement_date', 'name' => __( 'Date', 'imp' ), 'type' => 'date', 'js_options' => array('dateFormat'=>'dd/mm/yy'), 'size' => 60 ), array( 'id' => $prefix.'company_announcement_content', 'name' => __( 'Content', 'imp' ), 'type' => 'wysiwyg', 'size' => 60, 'options' => array( 'textarea_rows' => 3, ) ), ) ), ), 'validation' => array( 'rules' => array( ) ) );
October 1, 2016 at 12:50 AM #4202leminhthienloc
ParticipantDid you have any updates regarding to this issue?
October 1, 2016 at 2:34 PM #4206Anh Tran
KeymasterI've just fixed it on Github. Please download the development version here.
Thanks
October 2, 2016 at 4:15 PM #4211leminhthienloc
ParticipantThanks.
But after upgrade the meta-box plugin from GitHub, I saw a lot of Notice when generating the fields and then the fields on the Group defined before has turned to Read Only automatically.Please see the 2 screenshot for more details:
- Notice errors: http://ctrlv.in/857001
- Fields in group auto Read Only: https://ctrlv.in/857000So I guess that there something conflict between the Meta Box and MB Group plugins.
I have reverted to the version on the WordPress Plugins site and it's ok again.October 2, 2016 at 4:20 PM #4212leminhthienloc
ParticipantActually, I have to used an older version of Meta Box, because the Meta Box plugin which I downloaded from the WordPress Plugins panel, generating the same Notices errors.
October 2, 2016 at 8:53 PM #4213Anh Tran
KeymasterWhich version of the Group extension are you using?
October 3, 2016 at 10:11 AM #4220leminhthienloc
ParticipantIt's version 1.1.2
Here is the header of the plugin MB Group
/**
* Plugin Name: MB Group
* Plugin URI: https://metabox.io/plugins/meta-box-group/
* Description: Add-on for meta box plugin, allows you to add field type 'group' which put child fields into 1 group which are displayed/accessed easier and can be cloneable.
* Version: 1.1.2
* Author: Rilwis
* Author URI: http://www.deluxeblogtips.com
* License: GPL2+
*/October 4, 2016 at 8:24 AM #4231Anh Tran
KeymasterPlease update to the latest version, it's 1.1.5 now. For more info, please follow this guide:
November 10, 2016 at 11:49 PM #4467purecobalt
ParticipantI am having the same issue and I am on v1.1.6.
November 12, 2016 at 9:52 AM #4476Anh Tran
KeymasterHi, 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.
November 24, 2016 at 8:33 PM #4549Namennaj
ParticipantI 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 ), ), ), );
November 24, 2016 at 8:35 PM #4550Namennaj
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.
April 21, 2017 at 3:07 AM #5719jroxbury
ParticipantI have the same issue using:
Metabox Version: 4.11
Metabox Group Version: 1.2.1 -
AuthorPosts
- You must be logged in to reply to this topic.