I'm using new TinyMCE 4.x editor in inline configuration. In this mode, the editor will contain FloatPanel which holds all the menu items and buttons. I'm handling an event where I have reference to TinyMCE in variable ed. Is there any way simple way to get a reference to FloatPanel holding all the menu items and buttons?
I know that I can get list of matching HTML elements with jquery using $(".mce-container.mce-panel.mce-floatpanel") but I have no idea how to match each panel to each editor in case I have multiple editors on a single page (all those div elements are added to the end of host document when TinyMCE is working in inline mode). In addition, that only gives me list of HTML elements without an easy way to get handle of FloatPanel object.
In short, how to get reference to an container object implementing interface http://www.tinymce.com/wiki.php/api4:class.tinymce.ui.FloatPanel when given http://www.tinymce.com/wiki.php/api4:class.tinymce.Editor?