Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.
Thanks a lot for the response, is your example the prefered method? Rather than using onChange and storing the change in a hook useState.
0
Stefan
Telerik team
answered on 21 May 2020, 01:45 PM
Hello, Justin,
Both approaches are valid.
The main advantage of this approach is not to update the Editor content on each change as with very large and complex documents this could become slower as the content grows.
For smaller documents the on change event is a very good choice. This is what we use in an example where we have the Editor inside a Form component.
Regards,
Stefan
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.