We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DocumentEditor Databinding

Hopefully this isn't a dumb question, but here goes...

Is it possible to bind the DocumentEditor's content (via ngModel or some other method) or is it intended to be used only with files?

1 Reply

HC Harini Chellappa Syncfusion Team December 9, 2019 10:33 AM UTC

Hi Kelly,

 

##DocumentEditor's content (via ngModel or some other method)

 

Document editor is not a form control and not applicable to bind its contents via ngModel. You have to use document editor events and property to achieve your requirement.

 

## is it intended to be used only with files?

 

Since document editor is an editing component, it deals with creating documents and modifying the existing documents.

 

Document editor maintains its own structure (SFDT) and provides API to return its contents in SFDT string.

 

Can you please explain your requirement clearly? so that we can provide appropriate solution at earliest.

 

 

Regards,

Harini C


Loader.
Live Chat Icon For mobile
Up arrow icon