ckeditor / ckeditor4-angular

Official CKEditor 4 Angular component.
Other
55 stars 32 forks source link

Reset doesn't work after form submit for the first time in FormDemo Component #75

Open f1ames opened 4 years ago

f1ames commented 4 years ago

Are you reporting a feature request or a bug?

Bug

Provide detailed reproduction steps (if any)

Looks like a bug, but I'm not sure if it is related to demo itself or our integration

  1. Go to DemoForm Component (e.g. npm start)
  2. Click Submit button.
  3. Click Reset button.

Expected result

All from fields (with CKEditor included) are cleared.

Actual result

The previous value is left in CKEditor and cleared only after Reset button is pressed second time.

Other details

~It happens only for classic editor~ (rechecked and it also happens for divarea editor, however it seems it started occurring in 1.0.0 version). Also if Submit is not clicked, reset works fine.