AnsweredAssumed Answered

Use of richtext Editor

Question asked by laurent1050 on Sep 9, 2010
Latest reply on Sep 13, 2010 by laurent1050
Hi all,

I've just configured Share (Alfresco 3.3) to use the richtext Editor for folder description.

<config evaluator="node-type" condition="cm:folder">
      <forms>
         <form>
            <appearance>
               <field id="cm:description">
                  <control template="/org/alfresco/components/form/controls/richtext.ftl">
                     <control-param name="editorAppearance">full</control-param>
                  </control>
               </field>
            </appearance>
         </form>
         <form id="doclib-simple-metadata">
            <appearance>
               <field id="cm:description">
                  <control template="/org/alfresco/components/form/controls/richtext.ftl">
                     <control-param name="editorAppearance">full</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>
   
   <config evaluator="model-type" condition="cm:folder">
      <forms>
         <form id="doclib-common">
            <appearance>
            <field id="cm:description">
               <control template="/org/alfresco/components/form/controls/richtext.ftl">
                  <control-param name="editorAppearance">full</control-param>
               </control>
            </field>
            </appearance>
         </form>
      </forms>
   </config>

I'm now able to use the richtext Editor for the description of a folder, when I create or update a folder.

But when I save the description, every formatting is lost. And nothing change in view mode.

How to configure Share to be able to have a formatted description for folders ?

Thanks

Outcomes