All you need to know about GuppY's editor
GuppY started with the mini-editor used in inc/admin.inc as a simple editor for the Administrator.
In fact it's a text area which uses several functions. These functions can be found in the file
admin/inc/miniedit.inc. This file with functions for the mini-editor is included in the file
inc/admin.inc
Today the mini-editor uses two extra icons (two icons in the upper right corner of the editor).
1 is to preview the content (admin/editpreview.php)
2 is the old WYSIWYG editor of GuppY (admin/edit.php and admin/editor.php)
In the Admin panel - Service Configuration, you are able to choose between 3 editor settings.
The first setting: "No" is the mini-editor with the old WYSIWYG editor as described above.
The second setting: "Yes" is a new WYSIWYG editor which today works both with Firefox and Internet Explorer. This editor starts in WYSIWYG mode but you can switch between HTML and source mode. The editor starts with a call to inc/jscript/quickbuild.js and uses the files in the directory inc/jscript.
The third and last setting: "Yes, pop-up" is using the old mini-editor and uses the new WYSIWYG editor (same as for the second setting). The WYSIWYG editor starts with the script admin/editorTypetool.php to build a popup. The popup windows script starts the editor itself with inc/jscript/quickbuild.js and uses the files in the directory inc/jscript.
So far the editors for the Admin (mini-editor, old and new WYSIWYG editor)
By Admin setting in Service configuration it's possible for visitors to add news or give a reaction
on an article. Depending the users browser, the user uses /inc/edit.inc, edit.js and editor.js as
editor or the user uses the files in the directory inc/editor.
Third party editors for GuppY make it possible to use another popup editor then the default supplied WYSIWYG editor. After installation you find this editor as extra choice in the pulldown menu under Admin - Services Configuration. Third party editors for GuppY are HTMLarea, fckeditor and tinymce. The WYSIWYG editor starts with the script admin/editorThirdpatyname.php to build a popup with the third party editor itself.