Need More Info
Last Updated: 15 Oct 2020 07:44 by ADMIN
Sergej
Created on: 12 Oct 2020 17:34
Category: Editor
Type: Bug Report
0
Type Error in kendo-angular-editor if tag contains class attribute but no inline style define

if editor recive a value like '<span class="platzhalter">Empfaenger_Debitor</span>'

by rendering console show this error

core.js:15724 ERROR TypeError: Cannot read property 'split' of null
    at utils.js:181
    at Array.map (<anonymous>)
    at getUniqueStyleValues (utils.js:200)
    at SafeSubscriber._next (index.js:1810)
    at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:194)
    at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:132)
    at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (Subscriber.js:76)
    at Subscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:53)
    at BehaviorSubject.push../node_modules/rxjs/_esm5/internal/Subject.js.Subject.next (Subject.js:47)
    at BehaviorSubject.push../node_modules/rxjs/_esm5/internal/BehaviorSubject.js.BehaviorSubject.next (BehaviorSubject.js:38)
1 comment
ADMIN
Petar
Posted on: 15 Oct 2020 07:44

Hi Sergej,

Thanks for the provided details.

I have tried reproducing the issue but had no success. Here is my sample app - https://stackblitz.com/edit/angular-rsb5ge?file=app/app.component.ts

I guess I am missing something so I will need additional more information - a package.json, a code snippet which demonstrates how the error is reproduced, or ideally a small StackBlitz which shows the problem.

In the meantime I can suggest to try updating the editor the the latest version if this is applicable. Here is more info on how to update KendoUI packages - https://www.telerik.com/kendo-angular-ui/components/installation/up-to-date/#toc-updating-to-latest-versions.

I am looking forward to your response.

Regards,
Petar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.