#4939: Initial work.
#4939: Render the text_format.
#4939: Rearrange so we don't blow away text_format's js files.
#4939: Successfully catch focus and blur on wysiwyg editor.
#4939: Use visibility instead of display to hide buttons. Auto collapse on page load.
#4939: Fix issue with wysiwyg not collapsing after browser tab change.

It looks like the scope created by the behavior's attach function is destroyed when the tab changes. I'm not sure what the rules are for which scopes are destroyed and when. By moving the function definition out of this scope and into the parent scope, the problem seems to be resolved.
#4939: Restart behaviors when editor is restarted with 'Disable rich-text' link.
Merge branch 'SCHOLAR-3.x' into 4939-new_wysiwyg_formatter
Merge pull request #4981 from openscholar/4939-new_wysiwyg_formatter

New Expanding Wysiwyg Formatter