New feature: editor html integrated in the core

"romeo bandinelli .:Envolution.info:." <cino-9O8nC7T3vzcsIb/[email protected]> Fri, 06 Sep 2002 17:27:52 +0200
Newsgroups gmane.comp.web.envolution.devel
Message-ID <[email protected]>
An idea to put a feature in the api of envolution
Have you see the module RTE for PN (WYSIWYG-Editor)?
http://mods.postnuke.com/modules.php?op=modload&name=News&file=article&sid=1164&mode=thread&order=0&thold=0

There is in my opinion a good think in it: the possibility in the 
adminstration to decide if a module can use the html editor or not.
I think we could built an api in envolution that have this feature: we can 
use the html editor of zxvision and change the module.php, the index.php 
and the admin.php in this way: for all the textarea box, if (for the module 
that is loaded -this would be the api function-) is set to use the html 
editor the core have to put the code to load the editor for all of the 
textarea.

An example:
         in the ezcms module:
      <textarea name=\"text$j\" cols=\"55\" rows=\"20\" 
wrap=\"virtual\"></textarea>
         the core have to put the code:
         <input type=button value=\"Editor html\" 
onClick=\"window.open('editor/editor.php?dest=text$j', 'popup', 'width=650, 
height=450, resizable=yes');\"><br><br>


In this way we set the module to use an external html editor, so if the 
module have 5 text area we load only an html editor, and we always can use 
both html editor and traditional text area.

I've not the time to test if the generalization is good or not, I've built 
the ezcms module with the html editor and it works. Can someone test this 
solution?

The zxvision html edititor can be downloaded at 
www.openenterprise.it/download/editor.zip . Please read the readme.txt file.

Finally the best editor html that I've seen is this one: 
http://webedpro.com/, but is not free. Anyone know if there is something 
free that is good?

p.s. sorry for my bad english... if you haven't understood ask me!!!

Cino