This is a migrated thread and some comments may be shown as answers.

Kendo Editor k-ng-model with custom directive

1 Answer 244 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jhony
Top achievements
Rank 1
Jhony asked on 01 Jun 2017, 02:27 PM

Hello,

A Angular Custom Directive that is use with the k-ng-model, stop to work after the Kendo UI v2016.3.xxxx version, but it was use to work with the Kendo UI 2015.3.xxxx version.

When is used only "ng-model" instead of the "k-ng-model, the error vanish, but a a new kind o error start, the word typed is salved with weird caracters like these: "&alt;strong&gt;test&alt;/strong&gt;", however the correct would be save like this way: <strong>test</strong>.

Thank you!

 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 05 Jun 2017, 11:12 AM

Hello Jhony,

The k-ng-model attribute should be used in order to process the HTML value. ng-model would encode it the way you described. 

However, using the k-ng-model on my end does not lead to errors. You can check out this dojo here:  http://dojo.telerik.com/OdufU.

Regards,
Ianko
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Editor
Asked by
Jhony
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or