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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DocumentEditor Databinding

Thread ID:





149726 Dec 6,2019 02:40 PM UTC Dec 9,2019 10:33 AM UTC Angular - EJ 2 1
Tags: DocumentEditor
Kelly Harrison
Asked On December 6, 2019 02:40 PM UTC

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?

Harini Chellappa [Syncfusion]
Replied On 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.




Harini C


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon