You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main issue is that the text-editor NgModel (value input in this case) isn't triggering changes on the property being passed to, so any attempt to check if the content is updated inside a NgForm will always be true.
What is the expected behavior?
Any changes to the content of the text editor should be saved on the object being passed to.
What is the motivation / use case for changing the behavior?
Trying to implement some NgForm which has the text-editor component so end users can type any markdown style stuff and gets saved on some cloud service (AWS DynamoDB in this case).
Which version of Angular and Material, and which browser and OS does this issue affect?
Other information
I added locally an output event as I was unable to store the changes of the editor content on some object property as the settings forceSync or autosave: { enabled: true } from the EasyMDE options didn't make it work.
Bug Report
The main issue is that the text-editor NgModel (
value
input in this case) isn't triggering changes on the property being passed to, so any attempt to check if the content is updated inside a NgForm will always be true.What is the expected behavior?
Any changes to the content of the text editor should be saved on the object being passed to.
What is the motivation / use case for changing the behavior?
Trying to implement some NgForm which has the
text-editor
component so end users can type any markdown style stuff and gets saved on some cloud service (AWS DynamoDB in this case).Which version of Angular and Material, and which browser and OS does this issue affect?
Other information
I added locally an output event as I was unable to store the changes of the editor content on some object property as the settings
forceSync
orautosave: { enabled: true }
from the EasyMDE options didn't make it work.With that change, I tested on the Covalent text editor demo like as follow:
I was able to fetch the content changes on another component with this change.
The text was updated successfully, but these errors were encountered: