I'm developing a fieldtype add-on and within the fieldtype, I would like to include the option to let users choose Wygwam as the text element, if they have it installed.
Is there some sort of a "build" method in Wygwam I can use within my fieldtype? Similar to the way the native RTE has the following, which you can use to initialize and assign it to text areas:
ee()->rte_lib->build_js(0, '.textarea_class', NULL, TRUE);
Anyone know if Wygwam has something similar, or anyone have experience in using Wygwam within their own fieldtype?