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

viewSource documentation wrong

1 Answer 33 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 30 Dec 2019, 03:37 PM

In the documentation for the editor you have an execute function called viewSource. However the ts definitions don't list it as an option.

https://www.telerik.com/kendo-angular-ui/components/editor/api/EditorComponent/#toc-opendialog

editor.exec('viewSource');

Come to find out, obviously it makes since that its actually the openDialog method instructions and docs should read:

editor.openDialog('viewSource');

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 31 Dec 2019, 10:10 AM

Hello Brandon,

Thanks for bringing this to my attention. I fixed the typo, the changes will be visible after the next update of the documentation site.

Regards,
Alexander Valchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Editor
Asked by
Brandon
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or