var toolbar = $('.aloha-toolbar'); // make the toolbar extend to 100% of the div. toolbar.css({'width': '100%', 'height': '100%', }); // ADDS THE ALOHA EDITOR TO A DIV! $('#alohaContainer').append(toolbar); // Renders the toolbar to the screen UiPlugin.showToolbar(); // The child element must also be resized, don't know why toolbar.children().css({'width': '100%', 'height': '100%'});
source share