Be sure to include the form media in your template somewhere and the end of the head area:

{{ form.media }}

Note: Specifying the widget is not necessary if you are using the HTMLField

### Additional Media Dependencies

Aloha uses jQuery and require.js. Both should be loaded before the form media in any template you use the widget.You must use the provided Aloha fork of jQuery or it will not work. Unfortunately they don't provide later versions.

Make sure to add 'aloha' to the list of installed apps. This will allow django to find the static files when it runscollectstatic.

INSTALLED_APPS = ( 'aloha', )

Extra Plugins-------------

### Video Embed

This plugin provides video embedding capabilities. It currently supports both blip and youtube, but other services can easily be added.This plugin provides both a content handler (so you can copy/paste links) as well as UI elements in the Aloha bar to manipulate and addvideo embeds.

For youtube videos, the embed include a special div that will reduce load on usage. You must include /static/js/youtube.js on both theedit page as well as the page that shows the content. This provides a jQuery function to activate the click functionality so theactual video will load when a user clicks it. Make sure to call this on page load of any page you are presenting your HTML content.

e.g.) $(function() {$(body).activateYoutube();});

### Bootstrap UI

This plugin provides manipulation of several [bootstrap]http://twitter.github.io/bootstrap/ elements including collapse (called spoiler here)and thumbnails. Make sure you include the appropriate css and javascript for those parts of bootstrap or they will not work.

### Usage

Make sure to load the plugins in either the aloha config file or the script load specification. Use 'user/videoembed', 'user/bootstrapui'

You must also add the UI elements to the UI configuration. Below is a sample config: