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

Page Builder is throwing JS errors when typing in its Rich Text field

    XMLWordPrintable

Details

    • Ibexa Experience

    Description

      Steps to reproduce:

      1. Add ezrichtext field type to Landing Page Content Type.
      2. Create a new Landing Page.
      3. Switch to the "Fields" section.
      4. Open a browser's console.
      5. Starting typing in newly added ezrichtext field.

      Result:
      One is presented with JS errors being thrown:

      Uncaught TypeError: Cannot read properties of null (reading 'classList')
          at ibexa-page-builder-parts-javascript-js.js:1176:55
          at Array.forEach (<anonymous>)
          at ibexa-page-builder-parts-javascript-js.js:1174:26
          at Array.forEach (<anonymous>)
          at HTMLBodyElement.<anonymous> (ibexa-page-builder-parts-javascript-js.js:1168:31)
          at EzRichTextValidator.toggleInvalidState (ibexa-admin-ui-content-edit-parts-js.js:5222:18)
          at EzRichTextValidator.validateField (ibexa-admin-ui-content-edit-parts-js.js:5325:14)
      

      Expected result:
      There shouldn't be any JS exceptions thrown.

      Note:
      Issue doesn't occur on v3.3.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bartlomiej.wajda@ibexa.co Bartłomiej Wajda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: