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

RichText Editor crashes after addin link to the content into unordered list

    XMLWordPrintable

    Details

      Description

      Selecting an element from the unordered list inside RichText Editor and setting it as a link to other content crashes editor with multiple javascript errors:

      TypeError: Cannot read property 'target' of undefined
      at value (9ff49d9_part_1_ezEmbedImageConfig_40.js:1)
      at Object.<anonymous> (99d1470_alloy-editor-no-react-min_1.js:850)
      at Array.some (<anonymous>)
      at Object._getCurrentSelection (99d1470_alloy-editor-no-react-min_1.js:850)
      at Object.render (99d1470_alloy-editor-no-react-min_1.js:850)
      at Wf (b22ba31_react-dom.production.min_2.js:91)
      at wh (b22ba31_react-dom.production.min_2.js:102)
      at kg (b22ba31_react-dom.production.min_2.js:120)
      at lg (b22ba31_react-dom.production.min_2.js:120)
      at fc (b22ba31_react-dom.production.min_2.js:127)

      Steps to reproduce
      1. Create a new Article
      2. In "Intro" field create a new unsorted list. Add a couple of elements to it.
      3. Select text in one of the element, make it a link.
      4. From link popup select some content and click "save".

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mateusz.bieniek@ez.no Mateusz Bieniek
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: