<div>Hi</div>
<div>And do not know really a solution for your problem, but i can tell you i know, may this will help a little.</div>
<div>The fck editor uses the org.opencms.editors.fckeditor.jar html area the org.opencms.editors.htmlarea.jar.</div>
<div>This two are availible in two modules same name without ".jar".</div>
<div>As far as i know opencms uses some different mechanism, if a resource, for example "Page with free text" (do you know the type id, for this type of resource, if so please tell me), is opened to edit, not the normal Classes subclassing the CmsHtmlWidget i think.
</div>
<div>So i try to get this mechanism at the moment, if you know that please let me know</div>
<div>Regards andy<br><br> </div>
<div><span class="gmail_quote">2006/11/23, David Sánchez Hernández <<a href="mailto:sanher82@gmail.com">sanher82@gmail.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<p><span lang="EN-GB">Hi,</span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">I have a problem with the editors in opencms 6.2.2. </span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">At Preferences/Editors tab there are three select to choose the editor used by opencms for each content type. If you select the HtmlArea Editor in 'Page with free text', (the default option in opencms
6.0.3) instead of<span> </span>FCKEditor, the editor shown editing a text area in a content should be the HtmlArea Editor. When I edit a content wich contents an OpenCmsHtml element I don't see the bar button, I only see the html tags and the text.
</span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">I have followed the problem some days and I can't find a solution. I tell you the more relevant stuff which I have tried.</span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">In the folder /system/workplace/editors/ there are the available editors, each of them has a configuration file named editor_configuration.xml, you can use it to set some properties about the editor. The file editor_configuration.xml of each editor set the widget editor class, at the htmlarea editor case the class is
org.opencms.editors.htmlarea.cmsHtmlAreaWidget, but this class doesn't exist, it isn't in opencms.jar, although if you look for it in the CVS you find it in the folder src-modules. Then, I thought I didn't install this, then, I installed this classes at opencms, I created a module with those classes, the editor code (workplace/editors/htmlarea) and the editor resources. But, finally, it didn't work. The result is the same.
</span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">I have debuged the content edition and I haven't found the problem, I have seen<span> </span>the widget type is linked with the class CmsHtmlWidget (for fckeditor and htmlarea editor). This class goes to the fckeditor classes when the fckeditor is selected but when the htmlarea editor is selected it use its own methods.
</span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">I'm desesperated with that. I'd like to know if I have forgotten something installing the editor. Or if somebody has any idea about this problem.</span></p>
<p><span lang="EN-GB"></span></p>
<p><span lang="EN-GB">Thanks in advance,</span></p><span class="sg"><span lang="EN-GB" style="FONT-SIZE: 12pt">David.</span> </span><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev
</a><br><br></blockquote></div><br>