I’m creating a bunch of custom widgets for SiteOrigin Page Builder and need to include a WYSIWYG field in them. I’ve installed Black Studio TinyMCE and the Visual Editor works correctly.
In my widget parameters I try and initialise the field using:
'copy' => array( 'type' => 'widget', 'label' => "Copy", 'class' => 'WP_Widget_Black_Studio_TinyMCE', 'hide' => false, 'default' => '' ),
This produces the error:
WP_Widget_Black_Studio_TinyMCE is not a SiteOrigin Widget
I have grepped through the plugins for likely terms with no luck, and I’m confused. Can you help please?
Hi Peter
Unfortunately at the moment, the widget sub field only works with other SiteOrigin widgets. It actually just grabs the widget’s form arguments and uses that in the main parent form.
That said, we’ve scheduled time to add a TinyMCE field type to the Widgets Bundle, we can’t say exactly when this will be done, but it will be an option one day. This has been a highly requested feature, so it’s something we’re very keen to get in ASAP.
Please add this feature asap, i need the editor for a bunch of custom widgets.
Hi Luca
You can keep track of the developments for this feature on Github
https://github.com/siteorigin/so-widgets-bundle/tree/feature/so-tinymce-field