cancel
Showing results for 
Search instead for 
Did you mean: 

Use of richtext Editor

laurent1050
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

laurent1050
Champ in-the-making
Champ in-the-making
No ideas ???