Child pages
  • [cms] JavaScript error, when editing anchor in CKEditor [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

In-Portal uses CKEditor as it's WYSIWYG editor during website content editing. However attempt to edit this link

<a class="cc" href="#" title="tt">link</a>

Ends up in this JavaScript error:

"TypeError: data.url is undefined" (file: core/ckeditor/plugins/my_link/plugin.js, line: 362)

Solution

For links, that have only # in their href attribute don't try to get data.url property at all.

Related Tasks

INP-1441 - Getting issue details... STATUS