XAM-Consulting/TEditor

Discard Changes

swansca79 opened this issue · 7 comments

Discard Changes should return the original string that was passed in instead of a blank string. Currently there is no way to differentiate between the Discard Changes action and just saving a blank string.

I don't understand, if discard return same string with input, how can we tell if user click save or discard when user didn't do any change.

By the way, in code you still can access the old Html string, just compare with the old one.

I've already forked the project and applied my fixes, this can close. Thanks.

I don't have permission to add a branch of create a pull request. I've got some changes in there you may not want, but they fix Issues #4 and #5

Hi, how did you achieved to fix #4 ?
There's another project with this point updated?
Thanks!

@swansca79 are you able to share the fixes for these issues at all?