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

Editor Bindings for angular's default sanitizer

1 Answer 119 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 08 Jan 2016, 05:16 PM

When using the default sanitizer (ngSanitize), certain controls in the Editor do not get echoed back in Angular. See the attached screenshot from the demos page, there is no indication of text align right or of underline.

Is there a way to map custom classes onto the buttons? E.g. underline decorates a span with ".myUnderlineClass" or whatever was configured?

 

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 13 Jan 2016, 11:24 AM

Hello Matthew,

This functionality is not supported by the editor at this time. You can consider pre-processing the editor content prior to sanitizing it.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Editor
Asked by
Matthew
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or