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

Custom Form Builder attribute with richtext causes JS error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Customer request, 4.6.8
    • 4.6.7
    • None
    • Yes

    Description

      Steps to reproduce

      1. Create Form Budiler attribute with richtext - https://doc.ibexa.co/en/4.5/content_management/forms/create_form_attribute/
      2. Create a form and created attribute
      3. Click on richtext and check the dev console in the browser

       

      Result

      In the dev console you can see the error:

      ibexa-richtext-onlineeditor-js.js:92886 Uncaught TypeError: 
      Cannot read properties of null (reading 'querySelector')    
      at setToolbarMaxWidth (ibexa-richtext-onlin…tor-js.js:129686:67)    
      at BalloonPanelView.<anonymous> (ibexa-richtext-onlin…tor-js.js:129716:13) 

       

      Expected

      no error should appear in the console

       

      Note

      The problem concerns Distraction free mode

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: