cancel
Showing results for 
Search instead for 
Did you mean: 

WYSIWYG editor issue

ganmaku
Champ on-the-rise
Champ on-the-rise
Hi Team,

I am working on Alfresco 3.3.1. enterprise edition Share application.

I am currently integrating the WYSIWYG editor available in "Alfresco-forms-services-examples".

As per the documentation mentioned, I have placed forms-32.jar in lib folder, wysiwyg.ftl in corresponding folder, added forms-32.amp to the amp folder, ran apply_amps.bat and I added the following code to the share-form-config.xml file
              
<field id="kms:problem">
                  <control template="/org/alfresco/components/form/controls/wysiwyg.ftl" />
                </field>
                .
                <field id="forms32:bio">
               <control template="/org/alfresco/components/form/controls/wysiwyg.ftl">
                  <control-param name="height">200</control-param>
                  <control-param name="width">420</control-param>
                  <control-param name="appearance">plugins</control-param>
               </control>
            </field>

The wysiwyg editor is showing in the form but SAVE button is not enabled after entering all mandatory fields.

Any help would be highly beneficial for me!!!
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
We actually introduced a WYSIWYG form control in the 3.3 release so I'd suggest you use that one rather than the example you mention.

The control is called richtext, it also has a few more options available i.e. allowing customisation of the TinyMCE control we use. Have a look at http://wiki.alfresco.com/wiki/Forms#richtext.ftl