AnsweredAssumed Answered

TinyMCE & HTML Code View

Question asked by dmusser on Dec 16, 2006
Latest reply on Apr 17, 2007 by eyestreet
Thanks to help  from Alfresco (Ariel),  I though it would be usefule to share the resulting solution with the ALfresco WCM community.  With the configuration we were able to finalize our WCM forms.  The forms were using TinyMCE but the default configuration was missing a few items that we needed in order to launch our web site with Alfresco.

The missing element was the ability to edit the HTML Code directly.

This was accomplished by modifying the xforms.js file that is located in the:

\SVNROOT\root\projects\web-client\source\web\scripts\ajax directory.

If you modify the line:

theme_advanced_buttons1: "bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect…
to include "code"

theme_advanced_buttons1: "bold,italic,underline,strikethrough,separator,fontselect,fontsizeselect,code

You will then see the HTML icon.

When you fill out a form if you click this it opens a new window for working on html directly.

Hopefully this will help someone else as well.

David Musser
dmusser@eyestreet.com

Outcomes