xing/wysihtml5 — pull request #145 by nevf (2012-07-06 07:59:02+00:00)
Title: Toolbar code updated to work with multiple edit areas.

I have made various updates to enable wysihtml5 to be used with multiple editors on a page.

A single toolbar can be used for all edit areas or each one can have it's own toolbar. Only the former has been tested.

- new wysihtml5.toolbar.Toolbar( editor1, "toolbar" ) creates a toolbar.
- editor1.toolbar.destroy() destroys it.

These would typically be called on.focus and on.blur.

I have include an example: simple_2_editors.html

Please ignore .gitignore, dist/wysihtml5-0.3.0.min.js and dist/wysihtml5-0.3.0.js commits. I am new to Github and Git.

-Neville