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

Setup semantic annotations on a rich-text description and sax to the client

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.9
    • None
    • None
    • None

      A semantic-annotations element can be added to rich texts in plugin.xml like this:
      <cms:metadata name="content" type="rich-text">
      <label i18n="true">CONTENT_TYPE_SIMPLE_CONTENT</label>
      <description i18n="true">CONTENT_TYPE_SIMPLE_CONTENT_DESC</description>
      <semAnnotations>
      <semAnnotation name="penibilite">
      <label i18n="true">CONTENT_TYPE_PENIBILITE</label>
      <description i18n="true">CONTENT_TYPE_PENIBILITE_DESC</description>
      </semAnnotation>
      <semAnnotation name="penibilite2">
      <label i18n="true">CONTENT_TYPE_PENIBILITE2</label>
      <description i18n="true">CONTENT_TYPE_PENIBILITE2_DESC</description>
      </semAnnotation>
      </semAnnotations>
      <validation>
      <mandatory/>
      </validation>
      </cms:metadata>

      This element can be saxed on the client.

          [CMS-4950] Setup semantic annotations on a rich-text description and sax to the client

          Element names will probably change in the future.

          Olivier Rossel (Inactive) added a comment - Element names will probably change in the future.

            orossel Olivier Rossel (Inactive)
            orossel Olivier Rossel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: