ReadOnly Kendo React Editor

1 Answer 178 Views
Editor
ted
Top achievements
Rank 1
Iron
ted asked on 24 Jul 2022, 11:16 AM

I'm following the guide for setting Editor to readonly. I got some backend api calls that fetches data to display in Editor.

If we initially set it to readonly, is there a way to update value of editor but keeping it readonly?

 

https://www.telerik.com/kendo-react-ui/components/editor/plugins/?&_ga=2.44037350.2112173554.1658652965-1429991543.1650758143#toc-read-only

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 26 Jul 2022, 05:16 PM

Hi Tianyi,

When the readonly plugin is used, the value in the Editor could not be changed programmatically, but once you fetch the data you can temporarily remove the readonly, change the content (using the approach demonstrated in the following example: https://www.telerik.com/kendo-react-ui/components/editor/content/) and then make it read only again.

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Tags
Editor
Asked by
ted
Top achievements
Rank 1
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or