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

No way to dismiss the "Custom Attributes" modal in the RichText editor

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.0, 4.4.4
    • None
    • None
    • Yes

    Description

      Currently, there is no way to dismiss the "Custom Attribute" modal without saving changes or removing all custom attributes or classes from it.

      Steps to reproduce
      1. Clean installation of Ibexa DXP v4.4 or v4.5
      2. Define a custom attribute and/or class for the paragraph in the config/packages/ibexa.yaml:

      ibexa:
          system:
              admin_group:
                  fieldtypes:
                      ezrichtext:
                          attributes:
                              paragraph:
                                  test:
                                      type: choice
                                      choices: [ test1, test2]
                                      default_value: test2
                                      required: false
                                      multiple: true
                          classes:
                              paragraph:
                                  choices: [ test1, test2, test3 ]
                                  default_value: test1
                                  required: false
                                  multiple: true

      3. Create a Folder content - in the "Description" Field type Lorem Ipsum and try selecting some attributes, save them, then change them again, but drop changes.

      Result
      It is not possible to discard changes.

      Expected result
      Clicking outside the modal should close it discarding changes (like in v3.3)

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.bieniek@ibexa.co Mateusz Bieniek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: