In order to work around possible conflicts between competing javascript libraries, any included javascript libraries should be disabled (read: not included) while in editing mode. When in viewing mode, the wysihat and prototype libraries should not be included either.