Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-7595

Document how to enable search for special characters in content stored by richTextField

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • None
    • 6.2.25
    • None
    • None

    Description

      Steps to reproduce

      1.  Add content with special characters using a Richtext field, for example using TextImage component (example: boîte à lettres)
      2.  Search using the find bar

      Expected results

      Content is found as it happen with TextFields.

      Actual results

      Content is not found

      Workaround

      Development notes

      It's how the ckeditor works. It encodes the data. If I use the textImage component from mtk2 you can see the difference between a basic text field and a rich text field. Notice the headline vs the text field in this export.

      '0':
        'constrainAspectRatio': false
        'headline': 'boîte à lettres'
        'headlineLevel': 'small'
        'imagePosition': 'below'
        'jcr:primaryType': 'mgnl:component'
        'jcr:uuid': '1066710e-519f-42fb-8bf0-0c98f8f2864c'
        'mgnl:created': 2022-10-30T09:30:49.143Z
        'mgnl:createdBy': 'superuser'
        'mgnl:lastModified': 2022-10-30T09:30:49.143Z
        'mgnl:lastModifiedBy': 'superuser'
        'mgnl:template': 'travel-demo:components/textImage'
        'text': '<p>bo&icirc;te &agrave; lettres</p>'
      

      Here you can find information about CKEditor HTML output format.

      Checklists

        Acceptance criteria

        Attachments

          There are no Sub-Tasks for this issue.

          Activity

            People

              abrooks Adrian Brooks
              miruela Mercedes Iruela
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Bug DoR
                  Task DoD