Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2555

When editing content selected word as inline custom tag is duplicated

    XMLWordPrintable

Details

    Description

      Steps:

      1. Configure inline custom tag, eg. Acronym.
      ibexa:
          system:
              admin_group:
                  fieldtypes:
                      ezrichtext:
                           custom_tags: [acronym]
                           toolbar:
                              text:
                                  buttons:
                                      acronym:
                                          priority: 5
      
      
      ibexa_fieldtype_richtext:
          custom_tags:
              acronym:
                  template: field_type/ibexa_fieldtype_richtext/custom_tags/acronym.html.twig
                  icon: '/bundles/ibexaplatformicons/img/all-icons.svg#information'
                  is_inline: true
                  attributes:
                      explanation:
                          type: 'string' 
      1. Create content with RTE.
      2. Type some text, highlight it and add acronym CT.
      3. Publish.
      4. Edit created content.

      Result: word in inline custom tag is duplicated.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              katarzyna.zawada@ibexa.co Katarzyna Zawada
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: