<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [opencms-dev] WYSIWYG editor also works with news?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>> I am using OpenCms 4.6.1. I have downloaded the OpenCms Homepage and</FONT>
<BR><FONT SIZE=2>> imported as a project. When I go to edit one of the news </FONT>
<BR><FONT SIZE=2>> articles there is</FONT>
<BR><FONT SIZE=2>> no WYSIWYG editor, but a simple form interface instead.</FONT>
<BR><FONT SIZE=2>> There is a video of a presentation of OpenCms on the Open </FONT>
<BR><FONT SIZE=2>> Source Content</FONT>
<BR><FONT SIZE=2>> Management Conference in Zurich on March 2002, where you can </FONT>
<BR><FONT SIZE=2>> see Alexander</FONT>
<BR><FONT SIZE=2>> Kandzior editing the news with a WYSIWYG editor. What am I </FONT>
<BR><FONT SIZE=2>> doing wrong?</FONT>
</P>
<P><FONT SIZE=2>You are probably not using Internet Explorer. One of the major drawbacks of OpenCms is IMHO that the WYSIWYG feature is limited to Internet Explorer. It's an ActiveX-Control. Furthermore, to enter source code, OpenCms uses another ActiveX-Control. I can't see any value of this particular one since it does nothing more than a simple text area. Not even syntax highlighting. </FONT></P>
<P><FONT SIZE=2>I recently tried to replace the WYSIWYG-ActiveX with some scripting code which worked for me but still is limited to Internet Explorer. So this is no real solution. </FONT></P>
<P><FONT SIZE=2>The best solution would be to have a Java-based editor with WYSIWYG capability and HTML-source code editing with syntax highlighting. There is nothing like this in the Open Source, the closest I could find, is still Alpha. I tried to extend it but it is far from beeing mature. It is called EKit, you can try it here: <A HREF="http://www.hexidec.com/ekit.php" TARGET="_blank">http://www.hexidec.com/ekit.php</A> (site is currently down?)</FONT></P>
<P><FONT SIZE=2>But if you want to download the source code to continue the development, don't use it from this site, it is not modular. I structured the whole thing into packages and generalized some features into abstract base classes. I plan to send this back to the original author but I didn't do yet. </FONT></P>
<P><FONT SIZE=2>If EKit would be finished it could easily be integrated into OpenCms and replace both Active-X controls. But the problem with this Java-based WYSIWYG editors is the strange behaviour and strange API of the HTMLDocument in Swing. If somebody has time and more experiences I can publish the source code for continuing development. </FONT></P>
<P><FONT SIZE=2>André</FONT>
</P>
</BODY>
</HTML>