How to resolve rich text links issue

Tomasz Czado asked on May 31, 2019 07:50

Hi,

I have a problem with kentico cloud implemented with angular framework. When rich text field has a links (simple link, that doesn't have data-item-id property) that throws an exceptions in browser developer tools.

ERROR Error: "Parsing HTML failed:Error: HTML node is invalid. Reason: missing 'data-item-id' attribute" resolveRichTextField browser-rich-text.parser.js:25 resolveHtml rich-text.resolver.js:20 resolveHtml field.mapper.js:153 getHtml fields.js:108 ngOnInit insight-detail.component.ts:29 RxJS 23 Angular 8

Is there a way to resolve it?

Correct Answer

David te Kloese answered on June 3, 2019 11:58

Could this be related (and fixed) with github.com/Kentico/kentico-cloud-js/issues/158

1 votesVote for this answer Unmark Correct answer

Recent Answers


Linda Sierra answered on June 3, 2019 16:39

Me too

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.