Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30244

Number of words is incorrect when inline custom tag is included

    XMLWordPrintable

Details

    Description

      Precondition:

      • inline custom tag defined

      ex:
      YML

              abbreviation:
                  template: '@ezdesign/fields/ezrichtext/custom_tags/abbr.html.twig'
                  icon: '/bundles/ezplatformadminui/img/ez-icons.svg#about'
                  is_inline: true
                  attributes:
                      abbreviation:
                          type: 'string'
                          required: true
      

      TWIG

      <abbr title="{{ params.abbreviation }}">{{ content }}</abbr>
      

      Steps to reproduce

      • create an article
      • insert a inline custom tag

      Result:

      The number of word is not correct.

      Expected result:

      Correct number

      Attachments

        Activity

          People

            Unassigned Unassigned
            sylvain.guittard@ibexa.co Sylvain Guittard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: