I want ->
1 - Load default data
2 - log the changed data in text editor on console
using Functional component of DocumentEditor.
Hi Salokya,
We will update details shortly.
Regards,
Suriya M.
Hi Salokya,
Apologies for the delay.
We will update sample by September 21, 2022, without further delay.
Regards,
Suriya M.
No issues, take your time and if possible please add how load/save datafromDocumentEditor to database using Functional component. If possible please share Axios/Fetch api example as I am
using React.js
Hi Salokya,
## Load default data
We have prepared the same for your requirement. Loaded default SFDT in created event.
//You can access container instance by using docEditor variable
https://stackblitz.com/edit/react-n1rnfi-vgf5qk?file=index.js
Documentation link:
## log the changed data in text editor on console
The contentChange event will be triggered when content change in the document. But we are not able to identify the changed data.
## please add how load/save datafromDocumentEditor to database using Functional component
We will update details by September 26, 2022.
Regards,
Suriya M.
Hi Salokya,
Please refer below documentation to load/save file from server:
https://www.syncfusion.com/kb/13306/how-to-load-save-file-in-web-server-for-asp-net-core
By referring this, you can achieve your requirement.
Regards,
Suriya M.