Problem with WYSIWYG editor

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
BamaRob

Problem with WYSIWYG editor

Post by BamaRob »

I'm getting

Code: Select all

//HTMLArea.loadPlugin("ImageManager"); HTMLArea.loadPlugin("InsertFile"); HTMLArea.loadPlugin("TableOperations"); HTMLArea.loadPlugin("ContextMenu"); HTMLArea.loadPlugin("CharacterMap"); HTMLArea.loadPlugin("FindReplace"); HTMLArea.loadPlugin("InvertBackground"); HTMLArea.loadPlugin("Indite"); var editor = null; function initHtmlArea() { editor = new HTMLArea("content"); //editor.registerPlugin(ImageManager); editor.registerPlugin(InsertFile); editor.registerPlugin(TableOperations); editor.registerPlugin(ContextMenu); editor.registerPlugin(CharacterMap); editor.registerPlugin(FindReplace); editor.registerPlugin(InvertBackground);
Fatal error: Call to undefined function: registerplugin() in /var/www/trunk/admin/header.php on line 105
Line 105 in header.php reads:

Code: Select all

editor.registerPlugin(Indite);
What am I missing? This is a fresh upgrade to the latest from svn.

Thanks,

BR
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Problem with WYSIWYG editor

Post by Ted »

I believe this is fixed in svn now...
Post Reply

Return to “Developers Discussion”