update the rest of the htmlarea-tree

This commit is contained in:
Pim Snel
2004-01-29 21:27:14 +00:00
parent df41169804
commit 9ab15364c4
47 changed files with 2604 additions and 1064 deletions

View File

@ -8,7 +8,7 @@
// For full source code and docs, visit http://www.interactivetools.com/
//
// Version 3.0 developed by Mihai Bazon for InteractiveTools.
// http://students.infoiasi.ro/~mishoo
// http://dynarch.com/mishoo
//
// $Id$
@ -28,7 +28,7 @@ function SpellChecker(editor) {
toolbar.push("separator");
} else {
var id = "SC-" + btn[0];
cfg.registerButton(id, tt[id], "plugins/SpellChecker/img/" + btn[0] + ".gif", false,
cfg.registerButton(id, tt[id], editor.imgURL(btn[0] + ".gif", "SpellChecker"), false,
function(editor, id) {
// dispatch button press event
self.buttonPress(editor, id);
@ -42,6 +42,17 @@ function SpellChecker(editor) {
}
};
SpellChecker._pluginInfo = {
name : "SpellChecker",
version : "1.0",
developer : "Mihai Bazon",
developer_url : "http://dynarch.com/mishoo/",
c_owner : "Mihai Bazon",
sponsor : "American Bible Society",
sponsor_url : "http://www.americanbible.org",
license : "htmlArea"
};
SpellChecker.btnList = [
null, // separator
["spell-check"]
@ -52,7 +63,7 @@ SpellChecker.prototype.buttonPress = function(editor, id) {
case "SC-spell-check":
SpellChecker.editor = editor;
SpellChecker.init = true;
var uiurl = editor.config.editorURL + "plugins/SpellChecker/spell-check-ui.html";
var uiurl = _editor_url + "plugins/SpellChecker/spell-check-ui.html";
var win;
if (HTMLArea.is_ie) {
win = window.open(uiurl, "SC_spell_checker",