alohaeditor/Aloha-Editor — Issue #425: Sidebar...
Author: ha25gmail
Created: 2012-02-03 16:54:21+00:00
State: open

I could not find a clear example of the sidebar- is my understanding correct, the sidebar is loaded onto the side or any div a developer wants, so I can append the floating menu to a fixed place? If so how can I get this to work? Is there an example somewhere?

My code is currently... (which does not work)

Aloha.settings.sidebar = {
tabs: {
attributes: ['attributepanel'],
comments: ['comments']
}
};
Aloha.ui.toolbar.appendTo('# "ui-page-widgets"');

Aloha.ready(function() {
Aloha.jQuery('#Canvas').aloha();
});

$("#Canvas").append($("#canvas-body").html());