Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12001

Impossible to set a default value for a rich text field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.8.0, 4.7.11
    • 4.7.9
    • None
    • None

      Impossible to assign a default textual value to a rich field
      There is no error but the editor does not take it into account

      example of code :

           <attribute name="knowledgeCheck" type="rich-text">
               <label i18n="true">PLUGINS_ODF_PROGRAM_KNOWLEDGE_CHECK</label>
               <description i18n="true">PLUGINS_ODF_PROGRAM_KNOWLEDGE_CHECK_DESC</description>
               <widget-params>
                   <param name="height">200</param>
               </widget-params>
               <default-value>Selon les objectifs de la formation, le contrôle des connaissances et des compétences peut mobiliser différentes modalités d’évaluation tels le contrôle terminal, le contrôle continu, ou une combinaison de contrôle terminal et de contrôle continu. Ces évaluations peuvent prendre des formes variées (écrits et ou oral, travail de groupe, rapport/mémoires, etc.).</default-value>
           </attribute>
      

            Unassigned Unassigned
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: