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

Richtext: Console error when submitting empty anchor

    XMLWordPrintable

Details

    Description

      Console error occurs when submitting empty anchor.

      Steps:

      1. Create e.g. folder.
      2. In a richtext field add some text.
      3. Select text and start adding anchor.
      4. Do not type anything.
      5. Hit Enter.

      Actual result: Console error occurs

      Uncaught CKEditorError: contextualballoon-add-view-exist
      Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-contextualballoon-add-view-exist
          at ContextualBalloon.add (ibexa-richtext-onlineeditor-js.js:84401:15)
          at IbexaAnchorUI.showForm (ibexa-richtext-onlineeditor-js.js:102958:20)
          at IbexaButtonView.fire (ibexa-richtext-onlineeditor-js.js:95404:37)
          at TemplateToBinding.<anonymous> (ibexa-richtext-onlineeditor-js.js:76908:19)
          at ProxyEmitter.callback (ibexa-richtext-onlineeditor-js.js:86352:20)
          at ProxyEmitter.fire (ibexa-richtext-onlineeditor-js.js:95404:37)
          at HTMLButtonElement.domListener (ibexa-richtext-onlineeditor-js.js:93200:16)
      

      Expected results: Submitting empty anchor handled without errors.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              michal.szoltysek@ibexa.co Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: