For those of you who are struggling integrating JSpell Evolution into Confluence 2.9.2 here is the outline:
Shutdown your Confluence instance
If you have a standalone version you can perform edits right in your file tree. If you have a packaged version you would need to unpack it, or patch the files in the "build" structure where you run Ant to get your packaged version
Navigate to /confluence/WEB-INF/classes/com/atlassian/confluence/setup
Extract atlassian-tinymce-plugin-3.0-rc2.jar from bundled plugins archive (you may need to verify the file name if you are trying to patch a version different from 2.9.2)
Edit file tinyMceAdaptor.js. You need to change two functions onShowEditor and tinyMCEOnInit so they look like the following:
function onShowEditor()
{
if (navigator.appName != "Microsoft Internet Explorer") {
tinyMCE.execCommand("mceAddControl", true, "wysiwyg" +
escape(AJS.params.parametersName));
// begin: JSpell integration patch
setTimeout(jspellInit,500);
// end: JSpell integration patch
}
}
And
function tinyMCEOnInit(inst) {
// begin: JSpell integration patch
if (navigator.appName == "Microsoft Internet Explorer") {
setTimeout(jspellInit,500);
}
// end: JSpell integration patch
// Once the content has finished loading, make a note of it
tinyMCEHasInit = true;
// tinyMCE.getContent() was used here previously,
// but returned nullfor FireFox.
// As a workaround, grab the textarea's contents
// and set that as the original value (CONF-4498)
tinyMCE.originalHTML = AJS.$("wysiwygTextarea").value;
}
Zip the plugin back up
zip atlassian-tinymce-plugin-3.0-rc2.jar
com/atlassian/confluence/extra/tinymceplugin/tinyMceAdaptor.js
Zip the bundled plugins archive back up
zip atlassian-bundled-plugins.zip
atlassian-tinymce-plugin-3.0-rc2.jar
Remove the copy of the plugin from your confluence home directory, it will be under YOUR_CONFLUENCE_HOME/bundled-plugins
Place the following code-snippet on your clipboard. (This assumes you have JSpell Evolution deployed into your server on /jspellEvolution context, if different - edit accordingly)