Wikka Mod 022
Type: Feature AdditionCredit:
WikiEdit© Roman “Kukutz” Ivanov (mailto:thingol@mail.ru), 2003–2004Based on Auto Indent for textarea, © Roman “Kukutz” Ivanov, Evgeny Nedelko, 2003
http://wackowiki.com/wikiedit/
Screenshot:
http://wikka.jsnx.com/images/wikiedit.gif
- Tweaked wikiedit2.js some.
- Added a new value to wakka.config.php: "gui_editor" => 1,
- Added code to handlers/page/edit.php at the appropriate place.
if ($this->GetConfigValue("gui_editor") == 1) {
$output .=
"<script language=\"JavaScript\" src=\"".$this->config['base_url']."wikiedit2/protoedit.js\"></script>\n".
"<script language=\"JavaScript\" src=\"".$this->config['base_url']."wikiedit2/wikiedit2.js\"></script>\n";
$output .= "<script type=\"text/javascript\"> wE = new WikiEdit(); wE.init('body','WikkaEdit','editornamecss');</script>\n";
}
$output .=
"<script language=\"JavaScript\" src=\"".$this->config['base_url']."wikiedit2/protoedit.js\"></script>\n".
"<script language=\"JavaScript\" src=\"".$this->config['base_url']."wikiedit2/wikiedit2.js\"></script>\n";
$output .= "<script type=\"text/javascript\"> wE = new WikiEdit(); wE.init('body','WikkaEdit','editornamecss');</script>\n";
}
It has other problems as well, such as relying on heavily-nested tables for layout. Worse, if someone does not have JavaScript or has it disabled (maybe by a corporate firewall) they cannot edit anything at all - our WikiEdit works in conjunction with a standard texarea on a form that will continue working when no JavaScript is available.
We don't support Wysiwyg and we don't require JavaScript.
As to compatibility with Opera, that is something that _should_ be looked into.
Doesn't WikiEdit also require Javascript? So you'd still end up with the same problem but FCKEditor seems to be more powerful.