Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.5.x-dev
Description
Console error occurs when submitting empty anchor.
Steps:
- Create e.g. folder.
- In a richtext field add some text.
- Select text and start adding anchor.
- Do not type anything.
- 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
Issue Links
- discovered while testing
-
IBX-5715 Richtext: Possible to create achors with invalid characters
- Closed